mysql-5.7.10-winx64免安装版配置时碰到的问题

来源:互联网 发布:软件进口销售 编辑:程序博客网 时间:2024/05/20 16:43

1.启动时失败:failed to set datadir to C:\mysql-5.7.10-winx64\data\For more information, see Help and Support Center at http://www.mysql.com.  


发现目录下 \data文件夹缺失,需要进行初始化。命令为mysqld --initialize --user=mysql --console,执行后启动正常,同时生成了data目录及相关文件


2.启动时失败:Can't open the mysql.plugin table. Please run mysql_upgrade to create it.For more information, see Help and Support Center at http://www.mysql.com.  


\data目录下没有\mysql文件夹,表名系统表缺失。解决方法同1



0 0
原创粉丝点击