Error: PDOException: SQLSTATE[HY000] [2002] Connection refused in /opt/code/system/db/pdo.php:10 Stack trace: #0 /opt/code/system/db/pdo.php(10): PDO->__construct('mysql:host=127....', 'root', '2014@leha', Array) #1 /opt/code/system/core/db.php(29): db_pdo->__construct(Array) #2 /opt/code/system/core/db.php(41): core_db->factory('db_pdo', Array) #3 /opt/code/system/app.php(477): core_db->setObject('master') #4 /opt/code/system/model.php(87): app::db('master') #5 /opt/code/system/model.php(198): model->db() #6 /opt/code/new/models/menu.php(21): model->select() #7 /opt/code/new/app/wenda.php(19): menu_class->aside() #8 /opt/code/system/controller.php(157): wenda->setup() #9 /opt/code/system/app.php(213): controller->__construct() #10 /opt/code/system/app.php(64): app::create_controller('wenda', '/opt/code/new/a...') #11 /opt/code/www/web.php(23): app::web() #12 {main}
Error: PDOException: SQLSTATE[HY000] [2002] Connection refused in /opt/code/system/db/pdo.php:10 Stack trace: #0 /opt/code/system/db/pdo.php(10): PDO->__construct('mysql:host=127....', 'root', '2014@leha', Array) #1 /opt/code/system/core/db.php(29): db_pdo->__construct(Array) #2 /opt/code/system/core/db.php(41): core_db->factory('db_pdo', Array) #3 /opt/code/system/app.php(477): core_db->setObject('master') #4 /opt/code/system/model.php(99): app::db('master') #5 /opt/code/system/model.php(1110): model->master() #6 [internal function]: model->__destruct() #7 {main}