摘要:
pstree -p 看看mysql的进程树然后kill -9 pid设置忽略密码启动mysql服务器mysqld_safe --skip-grant-tables &输出:[1] 5988Starting mysqld daemon with databases from /var/lib/mysqlmysqld_safe[6025]: started使用mysql客户端连接mysql服务器mysql -u root输出:Welcome to the MySQL monitor. Commands end with ; or g.Your MySQL connection id is 阅读全文