且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

错误#1045-无法登录到MySQL服务器-> phpmyadmin

更新时间:2021-08-04 21:24:50

在按照您在帖子中提到的链接进行操作之后,您还需要做另外两件事:

You need to do two additional things after following the link that you have mentioned in your post:

必须在phpmyadmin的 config.inc.php

One have to map the changed login cridentials in phpmyadmin's config.inc.php

第二,您需要重新启动Web和mysql服务器.

and second, you need to restart your web and mysql servers..

php版本不是这里的问题..您需要转到 phpmyadmin 安装目录并找到文件config.inc.php,然后在该文件中将您当前的mysql密码放在

php version is not the issue here..you need to go to phpmyadmin installation directory and find file config.inc.php and in that file put your current mysql password at line

$cfg['Servers'][$i]['user'] = 'root'; //mysql username here
$cfg['Servers'][$i]['password'] = 'password'; //mysql password here