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 team.*,t...', false) #4 /var/www/html/application/classes/model/team.php(41): Kohana_Database_Query->execute() #5 /var/www/html/application/classes/controller/zespol.php(29): Model_Team->getTeamByGroups() #6 [internal function]: Controller_Zespol->action_index('tomasz-poliwoda...') #7 /var/www/html/system/classes/kohana/request.php(1046): ReflectionMethod->invokeArgs(Object(Controller_Zespol), Array) #8 /var/www/html/application/bootstrap.php(150): Kohana_Request->execute() #9 /var/www/html/index.php(131): require('/var/www/html/a...') #10 {main}