MySql更改mysql密码[ERROR]无法找到messagefile

时间:2014-08-20 02:16:58

标签: ubuntu mysql

我想更改mysql密码(How to reset or change the MySQL root password?

日志:

root@vm87297:[/usr/share/mysql]: 
$ sudo /etc/init.d/mysql stop
* Stopping MySQL database server mysqld                                 [ OK ] 

root@vm87297:[/usr/share/mysql]: 
$ sudo mysqld --skip-grant-tables &
[1] 6503

root@vm87297:[/usr/share/mysql]: 
$ 140820  6:11:20 [ERROR] Can't find messagefile '/usr/share/mysqlmyisam-recover-options = BACKUP/errmsg.sys'
^C
[1]+  Exit 1                  sudo mysqld --skip-grant-tables

mysql版本:

mysql Ver 14.14使用readline 6.3为debian-linux-gnu(x86_64)分发5.5.38

ubuntu的:

Ubuntu 14.04.1 LTS

谢谢!

0 个答案:

没有答案