2024年5月11日发(作者:)

紧急求助 MYSQL 修改密码后登陆不上去!

Databasechangedmysql

updateusersetpassword=‘master’whereuser=‘root’;QueryOK,3rowsaffected(0.05sec)Rows

matched:3Changed:3Warnings:0mysql flushprivileges;QueryOK,0rowsaffected(0.16sec)

然后我用新的密码登陆死活也登陆不上去!求助!

updateusersetpassword=password(‘master’)whereuser=‘root’;这样就可以用master这个

密码登录。。。

Enterpassword:******ERROR1130(HY000):Host’localhost’isnotallowedtoconnecttothis

MySQLserver完了搞大了!大神们帮帮我!Windows下,在命令行下运行

1X:/MySQL/bin/--skip-grant-tables3、完成以后就可以不用密码进入

MySQL了Linux下,运行1mysql-uroot-p进入Windows下,运行

1X:/MySQL/bin/mysql-uroot-p进入4、更改密码123 usemysql

我在updateusersetpassword=password(“新密码”)whereuser=“root”; flushprivileges;

window下执行程序进入安全模式就不行了停在那边!/MySQL/bin/--

skip-grant-tables 刚才找到问题了!用D:wwwMySQL5.1bin mysqld-nt--defaults-

file=“D:”--consol--skip-grant-tables但是好像有东西连接到M

YSQL上了 还报错! D:wwwMySQL5.1bin mysqld-nt--defaults-

file=“D:”--

consol10050615:41:07InnoDB:Started;logsequencenumber15:41:07[Warni

ng]Foundinvalidpasswordforuser:’root@localhost’;Ignoringuser10050615:41:07[Warning]

Foundinvalidpasswordforuser:’root@production’;Ignoringuser10050615:41:07[Warning]F

oundinvalidpasswordforuser:’root@127.0.0.1’;Ignoringuser10050615:41:07[ERROR]Colu

ed22,dwithMySQL50120,nowrunnin

usemysql_upgradetofixthiserror.10050615:41:07[ERROR]EventScheduler:

ingtheEventScheduler.10050615:41:0

7[Note]mysqld-nt:n:’5.1.28-rc-