1,下载得到 phpMyAdmin-2.6.0.zip ,将其解压到 IIS 根目录,找到并打开 config.inc.php ,做以下修改:; P! H. U; {9 k. I3 G
搜索$cfg['PmaAbsoluteUri'],设置你的phpmyadmin的URL,如:$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/'; 注意这里假设phpmyadmin在默认站点的根目录下* v% d/ P1 z& j
搜索$cfg['blowfish_secret'],设定好root密码后这里也要填写比如ROOT密码5uip.com则设置为$cfg['blowfish_secret'] = '5uip.com';
' G3 ]; L! P! p# p搜索$cfg['DefaultLang'] ,将其设置为 zh-gb2312 ;
. /; u U7 s* Q5 w5 p9 m& o. O3 I搜索$cfg['DefaultCharset'] ,将其设置为 gb2312 ;
" i% k# L0 y. a' y1 p% E/ v5 c" /; s搜索$cfg['Servers'][$i]['auth_type'],默认为config,是不安全的,不推荐,推荐使用cookie,将其设置为$cfg['Servers'][$i]['auth_type'] = 'cookie'; # w2 ?" I- x. v/ E8 c+ w# S7 A
注意这里如果设置为config请在下面设置用户名和密码!例如:* @! _6 l1 B1 h, s
. L8 _) [9 K3 x, j; l% ~$cfg['Servers'][$i]['user'] = 'root'; // MySQL user-----MySQL连接用户. v. ^; C) |8 U& R9 |8 I
$cfg['Servers'][$i]['password'] = '5uip.com'; 只能以所写的用户登陆,并且是不需要再输入密码的。
8 A+ Q2 q: v9 `' P6 I, P1 U
5 u# Q& [5 s2 e2,(1)配置config.inc.php
& W, C' H6 U# ?; s$ I* ]9 ? ^
5 A `$ W$ D! D找到 $cfg['PmaAbsoluteUri']6 t" e0 J0 I9 ~" S8 S, y
在后面的''内把phpMyAdmin的地址打上,修改后如 $cfg['PmaAbsoluteUri'] = 'http://www.5uip.com/phpmyadmin';) n0 h, l- D) o! W5 M8 n4 N4 w+ o- U
4 Y6 V- f4 r x" M0 L
(2)
$ @/ z% m/ W- [- q8 T找到 $cfg['blowfish_secret']; L8 [8 [2 S; ~5 L$ ?- b) d Y7 ^, A$ [
在后面的''内随便输入一些数字或字母,修改后如 $cfg['blowfish_secret'] = '5uipcom';3 p( U. x: J' ?$ C8 q
(3)' _( a: t) V r& X9 V( w6 @- E' O / d) ~
找到 $cfg['Servers'][$i]['auth_type']
6 _1 l3 Y' h2 J* r* n2 Y$ ?6 a5 J4 I) U3 a5 /& Z! f, }
后面的''内默认为config,修改为cookie,修改后如 $cfg['Servers'][$i]['auth_type'] = 'cookie';
/ h9 O' y* Q8 V: o C5 /
8 d' s/ k6 Q2 y7 }0 r2 U0 A* v% J% _# M
(4). W! E. B, s8 u( e2 l
找到 $cfg['Servers'][$i]['user']
5 /) r1 Q, `9 Z: v. Q后面的''内默认是root,去掉,修改后如 $cfg['Servers'][$i]['user'] = '';
6 x/ b! S% ~! L% F) Z' x# e J
搜索$cfg['PmaAbsoluteUri'],设置你的phpmyadmin的URL,如:$cfg['PmaAbsoluteUri'] = 'http://localhost/phpmyadmin/'; 注意这里假设phpmyadmin在默认站点的根目录下* v% d/ P1 z& j
搜索$cfg['blowfish_secret'],设定好root密码后这里也要填写比如ROOT密码5uip.com则设置为$cfg['blowfish_secret'] = '5uip.com';
' G3 ]; L! P! p# p搜索$cfg['DefaultLang'] ,将其设置为 zh-gb2312 ;
. /; u U7 s* Q5 w5 p9 m& o. O3 I搜索$cfg['DefaultCharset'] ,将其设置为 gb2312 ;
" i% k# L0 y. a' y1 p% E/ v5 c" /; s搜索$cfg['Servers'][$i]['auth_type'],默认为config,是不安全的,不推荐,推荐使用cookie,将其设置为$cfg['Servers'][$i]['auth_type'] = 'cookie'; # w2 ?" I- x. v/ E8 c+ w# S7 A
注意这里如果设置为config请在下面设置用户名和密码!例如:* @! _6 l1 B1 h, s
. L8 _) [9 K3 x, j; l% ~$cfg['Servers'][$i]['user'] = 'root'; // MySQL user-----MySQL连接用户. v. ^; C) |8 U& R9 |8 I
$cfg['Servers'][$i]['password'] = '5uip.com'; 只能以所写的用户登陆,并且是不需要再输入密码的。
8 A+ Q2 q: v9 `' P6 I, P1 U
5 u# Q& [5 s2 e2,(1)配置config.inc.php
& W, C' H6 U# ?; s$ I* ]9 ? ^
5 A `$ W$ D! D找到 $cfg['PmaAbsoluteUri']6 t" e0 J0 I9 ~" S8 S, y
在后面的''内把phpMyAdmin的地址打上,修改后如 $cfg['PmaAbsoluteUri'] = 'http://www.5uip.com/phpmyadmin';) n0 h, l- D) o! W5 M8 n4 N4 w+ o- U
4 Y6 V- f4 r x" M0 L
(2)
$ @/ z% m/ W- [- q8 T找到 $cfg['blowfish_secret']; L8 [8 [2 S; ~5 L$ ?- b) d Y7 ^, A$ [
在后面的''内随便输入一些数字或字母,修改后如 $cfg['blowfish_secret'] = '5uipcom';3 p( U. x: J' ?$ C8 q
(3)' _( a: t) V r& X9 V( w6 @- E' O / d) ~
找到 $cfg['Servers'][$i]['auth_type']
6 _1 l3 Y' h2 J* r* n2 Y$ ?6 a5 J4 I) U3 a5 /& Z! f, }
后面的''内默认为config,修改为cookie,修改后如 $cfg['Servers'][$i]['auth_type'] = 'cookie';
/ h9 O' y* Q8 V: o C5 /
8 d' s/ k6 Q2 y7 }0 r2 U0 A* v% J% _# M
(4). W! E. B, s8 u( e2 l
找到 $cfg['Servers'][$i]['user']
5 /) r1 Q, `9 Z: v. Q后面的''内默认是root,去掉,修改后如 $cfg['Servers'][$i]['user'] = '';
6 x/ b! S% ~! L% F) Z' x# e J