Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/63.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Can';t访问MySQL——Php管理员_Php_Mysql - Fatal编程技术网

Can';t访问MySQL——Php管理员

Can';t访问MySQL——Php管理员,php,mysql,Php,Mysql,错误: 我已经尝试了另一个问题的解决方案,但我似乎无法使其工作,错误仍然存在,我无法访问localhost/phpmyadmin,请有人帮助我 在C:\xampp\phpMyAdmin下找到config.inc.php文件,并在任何编辑器中打开它 查找以下行: $cfg['Servers'][$i]['password'] = ' '; $cfg['Servers'][$i]['auth_type'] = 'config'; 在引号内输入所选密码。另外,为了使 localhost/ph

错误:

我已经尝试了另一个问题的解决方案,但我似乎无法使其工作,错误仍然存在,我无法访问localhost/phpmyadmin,请有人帮助我

在C:\xampp\phpMyAdmin下找到config.inc.php文件,并在任何编辑器中打开它

查找以下行:

$cfg['Servers'][$i]['password'] = '  ';
$cfg['Servers'][$i]['auth_type'] = 'config';
在引号内输入所选密码。另外,为了使
localhost/phpmyadmin要输入用户名和密码,请查找以下行:

$cfg['Servers'][$i]['password'] = '  ';
$cfg['Servers'][$i]['auth_type'] = 'config';
将上述行更改为:

$cfg['Servers'][$i]['auth_type'] = 'cookie';

等等

您是否尝试过:用户根、密码根或用户根,密码为空?。该错误是因为您提供了错误的用户名或密码。编辑。您更改了问题,现在您在配置文件上遇到了问题。必须还原config.inc.php。最好的方法是编辑配置文件抛出phpmyadmin将config.inc.php放入/config dir并运行script@hokusai我已经尝试了您给我的关于用户根目录、密码根目录等的第一个选项。。我已经设法让其中一个正常工作,但登录后,我的所有数据库都消失了…@hokusai至于第二部分,而您提到的/config dir和run script,似乎无法理解。对不起,我的意思是: