Home >Backend Development >PHP Tutorial >Cannot load or save configuration解决方法

Cannot load or save configuration解决方法

WBOY
WBOYOriginal
2016-06-13 10:28:481349browse

Cannot load or save configuration
把phpMyAdmin解压后放在放在apache的hdocs目录下后访问http://localhost/phpmyadmin/setup/index.php结果显示
Cannot load or save configuration
查看了好多资料都没有解决,就高手指点


------解决方案--------------------
hdocs?应该是htdocs。
目录名错误。
------解决方案--------------------
下面是否有这样文字: 
Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it
------解决方案--------------------
...
你要是看不懂英文呢,总该会用下翻译工具的吧?

探讨

引用:
下面是否有这样文字:
Please create web server writable folder config in phpMyAdmin top level directory as described in documentation. Otherwise you will be only able to download or display it

……

------解决方案--------------------
在phpmyadmin根目录下建立config.inc.php,内容为以下: 

$i=0; 
$i++; 
$cfg['Servers'][$i]['user'] = 'root'; 
$cfg['Servers'][$i]['password'] = 'root'; // use here your password 

//$cfg['MaxTableList'] = '200'; 
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn