且构网

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

xampp phpmyadmin访问被拒绝错误(#2002)

更新时间:2022-11-25 22:54:24

尝试一下.

转到Xampp的安装目录.让我们称之为xampp.现在,在任何文本编辑器中打开文件 xampp/phpMyAdmin/config.inc.php .

Go to the directory where Xampp is installed. Lets call it xampp. Now open the file xampp/phpMyAdmin/config.inc.php in any text editor.

现在找到这行

$cfg['Servers'][$i]['host'] = 'localhost';

并将其更改为

$cfg['Servers'][$i]['host'] = 'localhost:3307';

注意:如果您使用的是Windows,则默认情况下xampp安装在 C:\ xampp

Note: If you are on Windows, xampp is by default installed in C:\xampp