使用WAMP的phpMyadmin报错#1045 - Access denied for user ‘root‘@‘localhost‘ (using password:YES)
会产生这样的结果是因为在phpMyadmin中更改了密码导致的(更改密码不安全)在这之前你肯定已经将\wamp\apps\phpmyadmin4.1.14\config.inc.php的$ cfg[‘Servers’][$ i][‘password’] = ‘’;修改为$ cfg[‘Servers’][$ i][‘password’] = ‘xxx’;(xxx表示你要更改的密码)了在WAMP中使用的MySQL版本是独立于电脑安装的mysql的版本,所以版本不对应时,不能在cmd直接使用mysql。(
原创
2021-03-27 21:15:22 ·
1044 阅读 ·
0 评论