Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Connection refused' in /data/school/htdocs/hrazdan13/components/Db.php:27 Stack trace: #0 /data/school/htdocs/hrazdan13/components/Db.php(27): PDO->__construct('mysql:host=hraz...', 'root', '') #1 /data/school/htdocs/hrazdan13/models/User.php(237): Db::getConnection() #2 /data/school/htdocs/hrazdan13/controllers/SiteController.php(17): User::getUserById(NULL) #3 [internal function]: SiteController->actionIndex() #4 /data/school/htdocs/hrazdan13/components/Router.php(81): call_user_func_array(Array, Array) #5 /data/school/htdocs/hrazdan13/index.php(12): Router->run() #6 {main} thrown in /data/school/htdocs/hrazdan13/components/Db.php on line 27