The MySQL service is starting.
The MySQL service could not be started.
A system error has occurred.
System error 1067 has occurred.
The process terminated unexpectedly.
Navicat无法连接
发现服务无法开启
尝试使用管理员权限开启服务,未成功
查看错误日志,发现错误信息 Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
发现是我把data文件夹中的user文件删除了,于是恢复,并成功启动。
下面是正常时mysql的文件目录
未在windows文件夹下添加my.ini文件