我首次安装的时候,一切正常。重新安装MySQL5.1时,出现了:current root password,不论是否填写该内容,到下一步的Apply security setting时都会出错,并提示:
Error No 1130
host “localhost”is not allowed to connect to this MySQL server注:默认的Port:3306没有被占用,安装过程中,仅仅修改了字符集为gbk,装的是custom类型怎样搞?写了这么长,我自己也觉得不好意思,请各位朋友帮帮忙啊!在此谢过
Error No 1130
host “localhost”is not allowed to connect to this MySQL server注:默认的Port:3306没有被占用,安装过程中,仅仅修改了字符集为gbk,装的是custom类型怎样搞?写了这么长,我自己也觉得不好意思,请各位朋友帮帮忙啊!在此谢过
可以使用下面SQL 来尝试解决
· mysql> UPDATE user SET Password = PASSWORD('bagel')
· -> WHERE Host = '%' AND User = 'francis';
· mysql> FLUSH PRIVILEGES;