mysql无法启动, 重置密码脚本一直失败
/etc/init.d/mysql startStarting MySQL..................................................................................................... ERROR! The server quit without updating PID file (/usr/local/mysql/var/mysql.pid).
./tools/reset_mysql_root_password.sh
+-------------------------------------------------------------------+
| Reset MySQL/MariaDB root Password for LNMP, Written by Licess |
+-------------------------------------------------------------------+
| A tool to reset MySQL/MariaDB root password for LNMP |
+-------------------------------------------------------------------+
| For more information please visit https://lnmp.org |
+-------------------------------------------------------------------+
| Usage: ./reset_mysql_root_password.sh |
+-------------------------------------------------------------------+
Enter New mysql root password: 6701bec2709042f3fb9
Stoping mysql...
ERROR! MySQL server PID file could not be found!
Starting mysql with skip grant tables
update mysql root password...
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
Reset mysql root password failed!
卸载了,重装吧 之前你mysql应该就是无法启动的,按反馈必读要求提供mysql日志看一下
页:
[1]