急急 MySQL为什么总启动不来,用mysqld_safe启动不了哪位大神帮我看下怎么回事. 在线等
[root@localhost ~]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[root@localhost ~]# service mysqld stop
停止 mysqld: [确定]
[root@localhost ~]# mysqld_safe --user=root --skip-grant-tables --skip-networking &
[1] 15810
[root@localhost ~]# 2017-05-08T08:39:32.110455Z mysqld_safe Logging to '/var/log/mysqld.log'.
2017-05-08T08:39:32.444070Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2017-05-08T08:39:33.128859Z mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended