phpMyAdmin-2.8.2安装
Monday, July 31st, 2006网上常见的 phpMyAdmin安装文章都是老版本的.
phpMyAdmin-2.8.2的配置文件在
phpMyAdmin\libraries\config.default.php.
先设置phpMyAdmin的位置
$cfg['PmaAbsoluteUri'] = ‘http://localhost/phpmyadmin/’;
CTRL+G到71行设置用户名和密码
$cfg['Servers'][$i]['auth_type'] = ‘config’; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = ‘jondy’; // MySQL user
$cfg['Servers'][$i]['password'] = ‘zhack.com’; // MySQL password (only needed
设置中文支持
$cfg['DefaultLang'] = ‘zh-gb2312′;
$cfg['DefaultCharset'] = ‘gb2312′;
这样就可以使用了,为了安全要设置$cfg['Servers'][$i]['auth_type']
为http或cookie哦,这样登陆phpMyAdmin时就要身份验证了.
用户名和密码和连接MySQL的一样.
最好将phpMyAdmin目录改个别的名比如love_jondy,
毕竟这么牛X的程序不一定哪天出个漏洞什么的,安全第一呀,呵呵.
我的一个客户用的51.net的虚拟主机,安装的时候提示
Warning: unknown encoding “gb2312″ in /z2/xxxxxxx/public_html/love_jondy/libraries/string.lib.php on line 41
简单的处理方法是编辑libraries/string.lib.php
CTRL+G到41行,在前边加上//注释掉,哈哈,管他什么if else呢.