安装MySQL服务无法启动怎么办,安装好久都安不上

qq_40296337 2017-09-18 05:19:50
之前安装过一次之后卸载了,之前一直报错可能是因为没有删干净,现在已经删过文件夹和注册表,应该没有残留的东西了,重启电脑之后还是显示无法启动程序,求大神帮忙解答一下接下来该怎么办....

CMD执行命令结果:

D:\mysql-5.7.19-winx64\bin>mysqld -install
Service successfully installed.

D:\mysql-5.7.19-winx64\bin>net start mysql
MySQL 服务正在启动 .
MySQL 服务无法启动。

服务没有报告任何错误。

请键入 NET HELPMSG 3534 以获得更多的帮助。


D:\mysql-5.7.19-winx64\bin>mysqld --console
mysqld: Can't read dir of 'C:\ProgramData\MySQL\MySQL Server 5.7\Uploads\' (Errcode: 2 - No such file or directory)
2017-09-18T09:08:28.680749Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-09-18T09:08:28.681836Z 0 [Warning] 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
2017-09-18T09:08:28.683479Z 0 [ERROR] Failed to access directory for --secure-file-priv. Please make sure that directory exists and is accessible by MySQL Server. Supplied value : C:/ProgramData/MySQL/MySQL Server 5.7/Uploads
2017-09-18T09:08:28.683479Z 0 [ERROR] Aborting

2017-09-18T09:08:28.684776Z 0 [Note] Binlog end

D:\mysql-5.7.19-winx64\bin>
...全文
242 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
qq_40296337 2017-09-21
  • 打赏
  • 举报
回复
mysqld: Table 'mysql.plugin' doesn't exist 2017-09-21T06:48:40.532550Z 0 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it. 2017-09-21T06:48:40.590703Z 0 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 2017-09-21T06:48:40.591707Z 0 [ERROR] Aborting 错误日志里面的两个主要错误 肿么破...
rucypli 2017-09-19
  • 打赏
  • 举报
回复
C:\ProgramData\MySQL\MySQL Server 5.7\Uploads\ 这个文件夹建上
ACMAIN_CHM 2017-09-18
  • 打赏
  • 举报
回复
net start mysql 后检查一下MYSQL的错误日志。

56,677

社区成员

发帖
与我相关
我的任务
社区描述
MySQL相关内容讨论专区
社区管理员
  • MySQL
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧