mysql重启

时间:2012-11-15 05:29:02

标签: mysql linux mysql-error-1045

我无法进入mysql,因为我收到了这条消息:

    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

我可以通过杀死mysql并重启它来解决这个问题         --skip发放-表

但突然间我无法阻止mysql。每次我杀了它,它都会重新开始

    betty@bettypc:~$ sudo killall -v mysqld
    [sudo] password for betty: 
    Killed mysqld(4503) with signal 15
    betty@bettypc:~$ ./doMysqld
    Mysql daemon is already running
    betty@bettypc:~$ sudo killall -v mysqld
    Killed mysqld(4965) with signal 15
    betty@bettypc:~$ ps -ef | grep mysql
    mysql     5077     1  2 00:03 ?        00:00:00 /usr/sbin/mysqld
    betty     5175  4900  0 00:03 pts/0    00:00:00 grep --color=auto mysql
    betty@bettypc:~$ sudo killall -9 mysqld
    mysql     5185     1  4 00:03 ?        00:00:00 /usr/sbin/mysqld
    betty     5283  4900  0 00:03 pts/0    00:00:00 grep --color=auto mysql

我该怎么办?

0 个答案:

没有答案