默认情况下phpmyadmin 2.10使用的是libraries\config.default.php
打开config.default.php,找到
$cfg[’PmaAbsoluteUri’] //修改你将上传到空间的phpMyAdmin的网址
如:$cfg[’PmaAbsoluteUri’] = ‘http://www.msino.com/phpmyadmin/’;
还有下面的
$cfg[’Servers’][$i][’host’] = ‘localhost’;(通常用默认,也有例外)
$cfg[’Servers’][$i][’auth_type’] = ‘config’; // Authentication method (config, http or cookie based)?
在自己的机子里调试用config,如果在网上用cookie。
$cfg[’Servers’][$i][’user’] = ‘root’; // MySQL user(用户名,自己机里用root,在网上设你的ftp用户名)
$cfg[’Servers’][$i][’password’] = ”; // MySQL password (安装mysql时的密码)
$cfg[’Servers’][$i][’only_db’] = ”; // If set to a db-name, only(你只有一个数据就设置一下)
$cfg['DefaultLang'] = 'zh'; // 默认显示中文,可选
$cfg['blowfish_secret'] = ' '; 单引号里面随便写个数
下图是$cfg['blowfish_secret'] = ' ' 留空出现的错误:配置文件现在需要绝密的短语密码(blowfish_secret)