?lt;?php // 数据库服务器名字(host:port) $dbhost = 'localhost'; // 数据库帐? $dbuser = 'chihe'; // 数据库密? $dbpw = '1985121'; // 数据库名? $dbname = 'chihe'; // 数据表前缀 $dbpre = 'modoer_'; // 数据库持久连?0=关闭, 1=打开 $pconnect = 0; // 数据库编? $dbcharset = 'utf8'; // 网页编码 $charset = 'utf-8'; // Cookie前缀 $cookiepre = 'fsrEv_'; // Cookie有效路径 $cookiepath = '/'; // Cookie作用? $cookiedomain = ''; // 可防止大量的非正常请求造成的拒绝服务攻? $attackevasive = 0; // 0=关闭, 1=cookie 刷新限制, 2=限制代理访问, 3=cookie+代理限制 $admincp = array(); // 后台管理操作是否验证管理员的IP,1=是[安全],0=否仅在管理员无法登陆后台时设?? $admincp['checkip'] = 1; //===================UCenter参数设置===================== define('UC_CONNECT', 'mysql'); define('UC_DBHOST', 'localhost'); define('UC_DBUSER', 'chihe'); define('UC_DBPW', '1985121'); define('UC_DBNAME', 'chihe'); define('UC_DBCHARSET', 'utf8'); define('UC_DBTABLEPRE', '`chihe`.uc_'); define('UC_DBCONNECT', '0'); define('UC_KEY', 'baochizhu_bbs_modoer_130'); define('UC_API', 'http://www.baochizhu.com/uc'); define('UC_CHARSET', 'utf-8'); define('UC_IP', ''); define('UC_APPID', '2'); define('UC_PPP', '20');

数据库出错:

Can not connect to MySQL server
Mysql error description: Access denied for user 'ODBC'@'localhost' (using password: NO)
Mysql error number: 1045
Date: 2010-09-08 @ 22:05
Script: http://www.baochizhu.com