|
蓝森林 http://www.lslnet.com 2006年8月26日 15:18
【修改密码问题】看了本版的不少帖子,还是无法修改root密码,求助
贴上:
[root@iibucm bin]# mysqladmin -u root password wolf
-bash: mysqladmin: command not found
[root@iibucm bin]# ./mysqladmin -u root password wolf
./mysqladmin: unable to change password; error: 'Can't find file: './mysql/user.frm' (errno: 13)'
[root@iibucm bin]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.0.24-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql> use mysql
ERROR 1049: Unknown database 'mysql'
……
请高人指点一二,安装过程没提示什么错误,怎么说没有frm文件,该如何设置root密码啊 |
建议LZ重新安装一下MySQL,
user.frm用户表损坏 |
再者,如果LZ还是没搞明天修改密码的问题,
建议LZ用用PHPMYADMIN |
-->
让朋友发给你三个文件覆盖下
user.myi
user.myd
user.frm |
| |