|
发表于 2013-10-28 20:10:10
|
显示全部楼层
这几天刚下载下来学习,为什么我的后台没办法登录?已经在别的版块发过求助了,但是一直没有得到解答。还请大神们显显灵吧
提示如下:
A Database Error Occurred Unable to connect to your database server using the provided settings.
数据库设置如下:
$active_group = "default";
$active_record = TRUE;
$db['default']['hostname'] = "localhost";
$db['default']['username'] = "root";
$db['default']['password'] = "";
$db['default']['database'] = "lcn";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "lcn_";
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";
不明白为什么会这样呢?按照lcnphp兄的操作,后来试着删除 MY_URI.php ,还是不行,始终显示数据库因为设置连接不上,怎么回事?和我环境有关系么?
试着改端口(8080),还有把pconnect改成false也不行,到底问题出在哪里啊?
有没有其他人遇到同样问题?
|
|