MySQL 5.7 for Windows 解压缩版 MySQL 服务无法启动
MySQL 5.7 for Windows 解压缩版配置安装
http://jingyan.baidu.com/article/f3ad7d0ffc061a09c3345bf0.html
basedir =D:/Program Files (x86)/mysql-5.7.15
datadir =D:/Program Files (x86)/mysql-5.7.15\data
Service successfully installed.
D:\Program Files (x86)\mysql-5.7.15\bin>net start mysql
MySQL 服务正在启动 .
MySQL 服务无法启动。
服务没有报告任何错误。
查看日志:
MySQL: Table 'mysql.plugin' doesn't exist
2016-10-11T02:16:26.611630Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2016-10-11T02:16:26.695635Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2016-10-11T02:16:26.697635Z 0 [ERROR] Aborting
http://dev.mysql.com/doc/refman/5.7/en/windows-troubleshooting.html
最后从官网下载的mysql-installer-community-5.7.15.0.msi,安装后可以使用
把启动成功的my.ini拷贝到ZIP版中也不能启动成功,如果把启动成功的data目录的如下文件拷贝过来则可以启动成功。
实在搞不定就下载个MSI吧:
http://dev.mysql.com/downloads/mysql/
mysql-installer-community-5.7.15.0.msi