当前位置:Gxlcms > 数据库问题 > windows7下安装MySQL-5.6.34

windows7下安装MySQL-5.6.34

时间:2021-07-01 10:21:17 帮助过:24人阅读

# 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 = D:\MySQL\mysql-5.6.34 datadir = D:\MySQL\mysql-5.6.34\data # port = ..... # server_id = ..... 设置环境变量: 右击计算机–>属性–>高级系统设置–>环境变量–>系统变量,找到path,在末尾追加 ;D:\MySQL\mysql-5.6.34\bin(注意路径前面有”;”),点击确定完成。   初始化数据库: 以管理员身份运行cmd:  进入C:\Windows\System32,找到cmd.exe,右击以管理员身份运行,进入bin目录: 技术分享  技术分享 cmd中输入mysqld --install
D:\MySQL\mysql-5.6.34\bin>mysqld --install
Service successfully installed.
启动mysql:
D:\MySQL\mysql-5.6.34\bin>net start mysql
   

windows7下安装MySQL-5.6.34

标签:logging   col   路径   tween   net   启动   for   修改内容   start   

人气教程排行