Login phpmyadmin 3.3.9配置文件中的更改不允许我访问phpmyadmin

Login phpmyadmin 3.3.9配置文件中的更改不允许我访问phpmyadmin,login,phpmyadmin,config,wampserver,Login,Phpmyadmin,Config,Wampserver,我正在开发一个使用phpmyadmin 3.3.9的遗留系统,我对config.inc.php文件所做的只是将$cfg['Servers'][$I]['AllowNoPassword']=true至错误。接下来我知道,我得到了这个错误: MySQL said: Cannot connect: invalid settings. phpMyAdmin tried to connect to the MySQL server, and the server rejected the connect

我正在开发一个使用phpmyadmin 3.3.9的遗留系统,我对config.inc.php文件所做的只是将
$cfg['Servers'][$I]['AllowNoPassword']=true
错误
。接下来我知道,我得到了这个错误:

MySQL said:
Cannot connect: invalid settings. 
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.
然后我试图恢复,但无论我做什么,它都无法连接。我用镜像系统中的配置文件替换了配置文件,但运气不好!这是配置文件的内容,出了什么问题

<?php

/* Servers configuration */
$i = 0;

/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

/* End of servers configuration */

$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';


/* rajk - for blobstreaming */
$cfg['Servers'][$i]['bs_garbage_threshold'] = 50;
$cfg['Servers'][$i]['bs_repository_threshold'] = '32M';
$cfg['Servers'][$i]['bs_temp_blob_timeout'] = 600;
$cfg['Servers'][$i]['bs_temp_log_threshold'] = '32M';


?>

应用程序能够很好地访问mysql,问题在于访问phpmyadmin的web界面

我几乎觉得这是一个类似于windows和unix上编辑的文件可能会出现问题的错误,只是因为换行符不同,因为我所做的只是更改一个单词并保存它。但我完全是在Windows下工作的


我也尝试将
auth\u type
config
更改为
http
,但没有成功。

好的,我刚刚重新启动了所有WAMP服务,然后它就正常运行了!我本想删除这个问题,但后来我想它可能对那些正在撕扯头发但忘记重新开始的人有用