由 likun 在 05-14-2003 16:05 发表:
mysql的root密码忘记了怎么办。
以root用户登陆后,运行mysql,得到以下结果:
[root@nms root]# mysql
ERROR 1045: Access denied for user: 'root@localhost' (Using password: NO)
[root@nms root]#
以其他用户登陆后运行mysql就可以:
[likun@nms bin]$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10 to server version: 3.23.52-log
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
请问如何更改root用户在mysql 下的密码?
Celeron 1.7G intel 845E SEAGATE 80G 7200 256MDDR266 Gforce2MX400
Mandrake 9.0 + Windowns 2000
由 Melvin 在 05-14-2003 17:13 发表:
查看你所有用到MYSQL的WEB或其他程序,如果实在找不到的话。。。。。。那只有愿主保佑你了。
由 ruochen 在 05-14-2003 17:37 发表:
关注中!!~~~
samaung753dfx+msikt333+duron1.2+128ram+GF2 400+st60G+ecom+samsung52cdrom
+rt8139
winxp+2000server+freebsd5.1+fedora1.0+debian3.0
由 babo 在 05-14-2003 18:11 发表:
我也很想知道
CPU--->PIII 866
内存-->512M
硬盘-->160G+120G
显卡-->TNT2 32M
由 khj99 在 05-15-2003 06:54 发表:
关闭mysql
找到您的数据库存放位置。
把mysql目录改名。
mv mysql mysql_bak
然后进入找到mysql里面的mysql_install_db
运行它,root密码就为空了接下来知道怎么做了吧。!!
由 dsj 在 05-15-2003 11:30 发表:
shell> BINDIR/safe_mysqld --skip-grant-tables &
shell> BINDIR/mysql -u root mysql
闲聊空间:
http://www.wonyen.net/bbs/mboard.asp
__