1、到其官方站点下载 phpMyAdmin-2.10.0.2-all-languages.zip并解压,并更改目录名为phpmyadmin,然后移动到"C:\htdocs\WEB\"。
2、编辑:libraries下的config.default.php。
查找:
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = ''; // MySQL password (only needed
// with 'config' auth_type)
$cfg['Servers'][$i]['nopassword'] = FALSE; // Whether to try to connect without password
$cfg['Servers'][$i]['only_db'] = ''; // If set to a db-name, only
// this db is displayed in left frame
// It may also be an array of db-names, where sorting order is relevant.
这里由于是本地测试环境,所以所按默认值,不需要更改。
查找:
$cfg['DefaultLang'] = 'en-iso-8859-1';
替换:
$cfg['DefaultLang'] = 'gb2312';
查找:
$cfg['DefaultCharset'] = 'iso-8859-1';
替换:
$cfg['DefaultCharset'] = 'gb2312';
3、设置完成。现在打开IE,键入:"http://localhost/phpmyadmin",即可进行相关操作。