exception 'QDB_Exception' with message 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' in /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/db/adapter/mysql.php:73 #0 /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/db/table.php(435): QDB_Adapter_Mysql->connect() #1 /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/db/table.php(471): QDB_Table->setConn(Object(QDB_Adapter_Mysql)) #2 /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/db/table.php(454): QDB_Table->_setupConn() #3 /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/db/table.php(366): QDB_Table->init() #4 /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/orm/activerecord/meta.php(1305): QDB_Table->columns() #5 /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/orm/activerecord/meta.php(250): QDB_ActiveRecord_Meta->_init1('ArtistCategorie...') #6 /home/zwmrzh/public_html/_code/qeephp-2.1.2435/library/orm/activerecord/meta.php(264): QDB_ActiveRecord_Meta->__construct('ArtistCategorie...') #7 /home/zwmrzh/public_html/_code/app/model/artistcategories.php(143): QDB_ActiveRecord_Meta::instance('ArtistCategorie...') #8 /home/zwmrzh/public_html/_code/app/controller/default_controller.php(13): ArtistCategories::find() #9 [internal function]: Controller_Default->actionIndex() #10 /home/zwmrzh/public_html/_code/app/controller/abstract.php(63): call_user_func_array(Array, Array) #11 /home/zwmrzh/public_html/_code/app/myapp.php(226): Controller_Abstract->execute('index', Array) #12 /home/zwmrzh/public_html/index.php(14): MyApp->dispatching() #13 {main} 如果要改变对异常的处理,请修改文件 "/home/zwmrzh/public_html/_code/app/myapp.php" 的 exception_handler() 方法