如果你是按照本网站教程安装的SQL2000请$ ^+ ]2 y1 c) m* ?9 N, T
解压 tools 打开 tools\htdocs\data 目录 打开 config
" j3 x$ d& {( k' b1 |改成如下
% _7 K5 o, m1 F$ ^* R8 F7 f4 |# X4 t! O6 P5 A* A: o# t
<?PHP
* o) H7 Q" H, \7 R/* ARC架构支持配置文件 */
) k0 @% o% F" d
0 N" P) g" [* Z/ m// database host
" O% s7 o5 n, |& B0 C/ Q, K$db_host = "127.0.0.1";7 q6 Z) l4 s6 N5 @: F2 @/ v# E
// database name: H, l3 l0 }& c
$db_name = "users";
$ z$ g0 d% O8 ^0 [// database username" X1 r. l/ I# L( `+ Z( G# S1 s
$db_user = "root";
- M9 V" j4 s' a0 b" J// database password+ \ Q z8 x1 \. i9 R- c3 e6 B
$db_pass = "123456";
8 x* q |( b( \3 v" e: F// table prefix& v# X& H( ^. Y" Q* A4 B% {
$prefix = ""; //表前缀7 k* |0 k' Z' V+ z( `! C$ V
$timezone = "PRC";//时区
, a% w2 ^+ j/ G; @4 S' U$cookie_path = "/";
9 `. h) h, s _% v6 P+ M7 d/ C- Z8 |$cookie_domain = ""; //cookie的作用域
1 Z$ y6 m% U% s' f: v; L2 P5 K$ e* f$admin_dir = "admin";//管理页面目录; \& c; u a- N; w% R5 P' b
$db_shost="127.0.0.1";
- S5 t6 f1 U/ h4 `, ~7 q5 t6 V! S$db_sport="1433";& S+ g- n/ W* [! h) u8 [7 e n
$db_suser="sa";, j( f) ^5 v* i" |0 r# q7 r
$db_spass="unrulyelysium";
6 l/ D# |" P" o# R9 x; C$db_sdbname="elysium";2 t: B" l2 G3 x4 `0 ^1 R) g& k
$pagelist = 10;8 @* k) `2 Y# A6 e7 p" U
?>- P3 p# a& d3 n
- K, p: s* J" `4 i. m
其实就是密码错了 改成 $db_spass="unrulyelysium"; 就好了 密码不是123456) k, z& {, Z% h( d4 m: S
( t }4 M; z# F9 a/ a; Y& [ v
还有的人可能会出现 MYSQL5启动失败 从新装下就好了~ |