exception 'ErrorException' with message 'mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' in /var/www/html/modules/database/classes/kohana/database/mysql.php:56 Stack trace: #0 [internal function]: Kohana_Core::error_handler(2, 'mysql_connect()...', '/var/www/html/m...', 56, Array) #1 /var/www/html/modules/database/classes/kohana/database/mysql.php(56): mysql_connect('localhost', 'root', 'patyczek!@', true) #2 /var/www/html/modules/database/classes/kohana/database/mysql.php(155): Kohana_Database_MySQL->connect() #3 /var/www/html/modules/database/classes/kohana/database/query.php(207): Kohana_Database_MySQL->query(1, 'SELECT * FROM c...', false) #4 /var/www/html/application/classes/model/cms.php(48): Kohana_Database_Query->execute() #5 /var/www/html/application/classes/controller/homepage.php(121): Model_Cms::getArticlesHomeList() #6 /var/www/html/application/classes/controller/homepage.php(51): Controller_Homepage->getServiceArticles() #7 [internal function]: Controller_Homepage->action_index() #8 /var/www/html/system/classes/kohana/request.php(1046): ReflectionMethod->invokeArgs(Object(Controller_Homepage), Array) #9 /var/www/html/application/bootstrap.php(150): Kohana_Request->execute() #10 /var/www/html/index.php(131): require('/var/www/html/a...') #11 {main}