如果你是按照本网站教程安装的SQL2000请
% I3 \6 K+ W3 \+ ` 解压 tools 打开 tools\htdocs\data 目录 打开 config
+ C6 n8 i/ U; a5 j9 N1 v改成如下 * _5 z2 P% U% d- t; l
# I3 }8 Q. _" g7 a
<?PHP: S$ {: v$ P* |/ z
/* ARC架构支持配置文件 */+ D5 y: I' s9 a# Y% x; @ a
9 N2 b- A( x1 n+ V// database host
* w9 X, f6 m/ k3 o$db_host = "127.0.0.1";
9 k* C1 L. `: y- s3 z+ j& a$ k4 Z// database name1 t$ [7 w5 A4 g( f% X
$db_name = "users";
% U W( W- f$ b, O// database username- h2 Q! C* u7 v) k2 ]" K
$db_user = "root";
9 l* {% ?' ]. g! F3 u6 ~/ [// database password
1 F. O, H5 }( w( ]# h$db_pass = "123456";
* r4 H' w/ d1 a0 H( D' A* }, G// table prefix$ }4 ~. M7 P4 Z& V$ O
$prefix = ""; //表前缀
7 M, @5 |% x0 S0 m# x' I+ i0 ~$timezone = "PRC";//时区
/ f% ?, e) R3 O/ t$ z9 `* n$cookie_path = "/";/ t! V6 b: C; {! y
$cookie_domain = ""; //cookie的作用域
* B' ~) r/ e# R" Y$admin_dir = "admin";//管理页面目录. @' y) W! r3 Q" T( U( @
$db_shost="127.0.0.1";* r" `: p# g( G( ?; J
$db_sport="1433";
2 p) r8 l8 T8 L: j/ f$db_suser="sa";4 k. M! z2 m* Z2 f+ U( ]6 J5 X
$db_spass="unrulyelysium";
/ w- a( n2 U* [' Y6 _$db_sdbname="elysium";* e3 V1 F6 t5 x A# k
$pagelist = 10;
2 A4 F. H6 D* v [# J5 \?>2 K( C8 d* k! O; a
: h3 W: J3 p" X W" E: [! b5 G其实就是密码错了 改成 $db_spass="unrulyelysium"; 就好了 密码不是123456
4 K2 H) W- g T \) q
4 L' Y- N- ^1 ?' q& D还有的人可能会出现 MYSQL5启动失败 从新装下就好了~ |