本文 12018 pv

0

phpMyAdmin-2.11.9 安装配置 phpMyAdmin安装

© kekehu / 技术资源 / 2008.09.10 / 14:35 / 12018PV

phpMyAdmin-2.11.5 安装配置 phpMyAdmin安装

1.将下载的安装包解压到web目录

2.编辑:libraries目录下的config.default.php。

3.ctrl+f 查找:$cfg['PmaAbsoluteUri']   改为:$cfg['PmaAbsoluteUri'] = 'http://域名/';
如:$cfg['PmaAbsoluteUri'] = 'http://local/phpmyadmin';

4.查找:$cfg['Servers'][$i]['auth_type'] = 'config';    改为: $cfg['Servers'][$i]['auth_type'] = 'cookie';

5.查找: $cfg['Servers'][$i]['user'] = 'root';  改为: $cfg['Servers'][$i]['user'] = '数据库的用户名';

6.查找:$cfg['Servers'][$i]['password'] = ''   改为:$cfg['Servers'][$i]['password'] = '数据库密码'     ;

7.查找:$cfg['DefaultLang'] = 'en-iso-8859-1'; 替换:$cfg['DefaultLang'] = 'gb2312';

8.查找:$cfg['DefaultCharset'] = 'iso-8859-1'; 替换:$cfg['DefaultCharset'] = 'gb2312';

9.查找:['blowfish_secret'] = ''替换:['blowfish_secret'] = '888888'    (这是cookie的加密字符串)

10.设置完成。

本文有 0 篇评论

发表你的见解

打开HTML 打开UBB 打开表情 隐藏 记住我
emotemotemotemotemotemotemotemotemotemotemotemotemotemotemotemotemotemotemotemot
emotemotemotemotemot