exception 'QDB_Exception' with message 'Connection refused' in /data/wwwroot/wzhotels/_code/lib/qeephp/library/db/adapter/mysql.php:73 #0 /data/wwwroot/wzhotels/_code/lib/qeephp/library/db/table.php(436): QDB_Adapter_Mysql->connect() #1 /data/wwwroot/wzhotels/_code/lib/qeephp/library/db/table.php(472): QDB_Table->setConn(Object(QDB_Adapter_Mysql)) #2 /data/wwwroot/wzhotels/_code/lib/qeephp/library/db/table.php(455): QDB_Table->_setupConn() #3 /data/wwwroot/wzhotels/_code/lib/qeephp/library/db/table.php(367): QDB_Table->init() #4 /data/wwwroot/wzhotels/_code/lib/qeephp/library/orm/activerecord/meta.php(1318): QDB_Table->columns() #5 /data/wwwroot/wzhotels/_code/lib/qeephp/library/orm/activerecord/meta.php(242): QDB_ActiveRecord_Meta->_init1('Experience') #6 /data/wwwroot/wzhotels/_code/lib/qeephp/library/orm/activerecord/meta.php(256): QDB_ActiveRecord_Meta->__construct('Experience') #7 /data/wwwroot/wzhotels/_code/app/model/experience.php(200): QDB_ActiveRecord_Meta::instance('Experience') #8 /data/wwwroot/wzhotels/_code/app/controller/default_controller.php(13): Experience::find('is_top=1') #9 [internal function]: Controller_Default->actionIndex() #10 /data/wwwroot/wzhotels/_code/app/controller/abstract.php(64): call_user_func_array(Array, Array) #11 /data/wwwroot/wzhotels/_code/app/myapp.php(234): Controller_Abstract->execute('index', Array) #12 /data/wwwroot/wzhotels/index.php(15): MyApp->dispatching() #13 {main} 如果要改变对异常的处理,请修改文件 "/data/wwwroot/wzhotels/_code/app/myapp.php" 的 exception_handler() 方法