首页 > 代码库 > Wampserver_密码修改

Wampserver_密码修改

1- mysql数据库运行

命令行输:msyql -u root回车进入mysql
然后输入命令:update mysql.user set password= PASSWORD(‘
新密码‘) where user = ‘root‘;

 

2- 文件修改

\apps\phpmyadmin3.4.10.1\config.inc.php

$cfg[‘Servers‘][$i][‘password‘] = ‘root‘;

 

\apps\phpmyadmin3.4.10.1\libraries\config.default.php

$cfg[‘Servers‘][$i][‘password‘] = ‘root‘;