复制代码 代码如下:
$cfg['Servers'][$i]['auth_type'] = 'config';
更改为
$cfg['Servers'][$i]['auth_type'] = 'http';
复制代码 代码如下:
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (valid choices: config, http, HTTP, signon or cookie) 验证方式一般填写cookie
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ”; // MySQL password (only needed with 'config' auth_type)
将其中的$cfg['Servers'][$i]['password'] 补上相应的正确密码.
3.连接mysql mysql.exe -u root -p -h 127.0.0.1
然后同步密码guoxue_mmkey_com
mysql> SET PASSWORD FOR -> ' some_user '@' some_host ' = OLD_PASSWORD(' newpwd ');
结合我们的实际情况,在 MySQL Command Line Client 下运行:
set password for root@localhost = old_password('123′);guoxue_mmkey_com
guoxue_mmkey_com
新闻热点
疑难解答