On Sep 27, 4:09 pm, TianYi <
tia...@gmail.com> wrote:
> 非常感谢,怪我没仔细看配置
>
> 有个问题,在db_server.php里配置完了后,怎么没看到需要配置mysql的host
>
> 现在报错是数据库没连接
>
> Fatal error: Uncaught exception 'Exception' with message 'No database
> server can be connected.' in
> D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapter.php:303 Stack
> trace: #0 D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapterPdoMysql.php(104):
> DbAdapter->query('DESCRIBE ip_bla...') #1
> D:\AppServ\www\kiwiphp\runtime\kiwi.php(146):
> DbAdapterPdoMysql->showFields('ip_blacklist') #2
> D:\AppServ\www\kiwiphp\runtime\kiwi.php(415):
> KiwiSystemCache::getConfig('kiwi_conf_20720...', 'D:\AppServ\www\...',
> Array) #3 D:\AppServ\www\kiwiphp\runtime\kiwi.php(444):
> Kiwi::init(Array, true) #4
> D:\AppServ\www\shycat\web_entrance\frontend\index.php(7):
> Kiwi::run(Array, 'Index', 'Index') #5 {main} thrown in
> D:\AppServ\www\kiwiphp\runtime\extension\Db\DbAdapter.php on line 303
>