(!)SamaoPHP错误提示: | |
所在页面(行): | D:\PHPnow\htdocs\Apps\Home\controls\home.ctl.php (12) |
错误提示信息: |
数据库连接不成功SQLSTATE[HY000] [2003] Can't connect to MySQL server on 'localhost' (10055) 连接参数 link: mysql:host=localhost;port=3306;dbname=hangkonguser:rootpass:FDTaw23! |
执行函数: | DB::getone() |
函数参数: | Array ( [0] => select * from @pf_config order by id desc ) |
GET 信息: | Array ( [id] => 1140 ) |
错误代码附近: | 10. } 11. // 获取网站配置 12. $config = DB::getone('select * from @pf_config order by id desc'); 13. $this->assign('config',$config); 14. |
触发页面(行): | D:\PHPnow\htdocs\samao\libs\sys\db.class.php (352) |
所抛出信息页面(行): | (0) |
Call Stack | Function | Location | Line |
0 | DB::getone() | D:\PHPnow\htdocs\Apps\Home\controls\home.ctl.php | 12 |
1 | HomeController->__construct() | D:\PHPnow\htdocs\samao\samaophp.php | 89 |
2 | App::Run() | D:\PHPnow\htdocs\index.php | 30 |