mysql如何修改root密码

https://jingyan.baidu.com/article/6f2f55a14805e6b5b83e6c77.html

然后去配置下config.inc.php文件中的语句:
$cfg['Servers'][$i]['verbose'] = 'mysql wampserver';
$cfg['Servers'][$i]['auth_type'] = 'cookie';   #需要输入密码登录模式
//$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '新密码'; 
posted @ 2017-03-25 10:34  Newman·Li  阅读(96)  评论(0编辑  收藏  举报