首页 / MYSQL / 绿色版的mysql安装配置方式
绿色版的mysql安装配置方式
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了绿色版的mysql安装配置方式,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含2978字,纯文字阅读大概需要5分钟。
内容图文
![绿色版的mysql安装配置方式](/upload/InfoBanner/zyjiaocheng/463/425abd9e07954df3af4a5cfb54d9da5f.jpg)
修改为
# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html # *** DO NOT EDIT THIS FILE. It‘s a template which will be copied to the # *** default location during install, and will be replaced if you # *** upgrade to a newer version of MySQL. [mysqld] # Remove leading # and set to the amount of RAM for the most important data # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%. # innodb_buffer_pool_size = 128M # Remove leading # to turn on a very important data integrity option: logging # changes to the binary log between backups. # log_bin # These are commonly set, remove the # and set as required. basedir = "C:\work\mysql-5.6.26-winx64\mysql-5.6.26-winx64" datadir = "C:\work\mysql-5.6.26-winx64\mysql-5.6.26-winx64\data" # port = ..... # server_id = ..... # Remove leading # to set options mainly useful for reporting servers. # The server defaults are faster for transactions and fast SELECTs. # Adjust sizes as needed, experiment to find the optimal values. # join_buffer_size = 128M # sort_buffer_size = 2M # read_rnd_buffer_size = 2M sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES #服务端的编码方式 character-set-server=utf8 [client] #客户端编码方式,最好和服务端保存一致 loose-default-character-set = utf8 [WinMySQLadmin] Server = "C:\work\mysql-5.6.26-winx64\mysql-5.6.26-winx64\bin\mysqld.exe"
修改好配置文件之后,以管理员身份运行cmd 进入mysql安装的bin的文件夹中,输入 mysqld -install 运行安装服务 运行成功之后 开启服务
再次运行cmd 输入mysql -u root -p 密码默认没有 检测是否安装成功
安装成功之后 修改密码 同理以管理员身份运行cmd 进入mysql安装的bin的文件夹中 输入mysqladmin -u root -p password 回车
输入原始密码 再次输入新密码 确认密码 (原始密码初次登陆为空 直接回车就行了)
配置环境变量
在path中添加mysql的安装bin目录就好了
大功告成
绿色版的mysql安装配置方式
标签:
本文系统来源:http://www.cnblogs.com/Pikzas/p/5459065.html
内容总结
以上是互联网集市为您收集整理的绿色版的mysql安装配置方式全部内容,希望文章能够帮你解决绿色版的mysql安装配置方式所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。