Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/luksiankey/data/www/life.pishi.info/includes/db/Database.php on line 579
MediaWiki internal error.

Original exception: exception 'DBQueryError' with message 'A database error has occurred
Query: SET NAMES utf8
Function: Database::open
Error: 2002 Can't connect to local MySQL server through socket '/tmp/mysql.sock' (61) (localhost)
' in /home/luksiankey/data/www/life.pishi.info/includes/db/Database.php:606
Stack trace:
#0 /home/luksiankey/data/www/life.pishi.info/includes/db/Database.php(561): Database->reportQueryError('Can't connect t...', 2002, 'SET NAMES utf8', 'Database::open', false)
#1 /home/luksiankey/data/www/life.pishi.info/includes/db/Database.php(393): Database->query('SET NAMES utf8', 'Database::open')
#2 /home/luksiankey/data/www/life.pishi.info/includes/db/Database.php(291): Database->open('localhost', 'life', 'AwBGKGkY', 'life')
#3 /home/luksiankey/data/www/life.pishi.info/includes/db/LoadBalancer.php(646): Database->__construct('localhost', 'life', 'AwBGKGkY', 'life', 1, 16)
#4 /home/luksiankey/data/www/life.pishi.info/includes/db/LoadBalancer.php(528): LoadBalancer->reallyOpenConnection(Array)
#5 /home/luksiankey/data/www/life.pishi.info/includes/db/LoadBalancer.php(451): LoadBalancer->openConnection(0, false)
#6 /home/luksiankey/data/www/life.pishi.info/includes/BagOStuff.php(442): LoadBalancer->getConnection(-2)
#7 /home/luksiankey/data/www/life.pishi.info/includes/BagOStuff.php(492): MediaWikiBagOStuff->_getDB()
#8 /home/luksiankey/data/www/life.pishi.info/includes/BagOStuff.php(316): MediaWikiBagOStuff->getTableName()
#9 /home/luksiankey/data/www/life.pishi.info/includes/BagOStuff.php(240): SqlBagOStuff->_query('SELECT value,ex...', 'life-life1_:mes...')
#10 /home/luksiankey/data/www/life.pishi.info/includes/MessageCache.php(246): SqlBagOStuff->get('life-life1_:mes...')
#11 /home/luksiankey/data/www/life.pishi.info/includes/MessageCache.php(606): MessageCache->load('ru')
#12 /home/luksiankey/data/www/life.pishi.info/includes/MessageCache.php(543): MessageCache->getMsgFromNamespace('Group-user', 'ru')
#13 /home/luksiankey/data/www/life.pishi.info/includes/GlobalFunctions.php(467): MessageCache->get('group-user', true, false)
#14 /home/luksiankey/data/www/life.pishi.info/includes/GlobalFunctions.php(432): wfMsgGetKey('group-user', true, false, true)
#15 /home/luksiankey/data/www/life.pishi.info/includes/GlobalFunctions.php(338): wfMsgReal('group-user', Array, true)
#16 /home/luksiankey/data/www/life.pishi.info/includes/User.php(2781): wfMsg()
#17 /home/luksiankey/data/www/life.pishi.info/includes/Title.php(1287): User::getGroupName('group-user')
#18 /home/luksiankey/data/www/life.pishi.info/includes/Title.php(1048): Title->getUserPermissionsErrorsInternal('user')
#19 /home/luksiankey/data/www/life.pishi.info/includes/Title.php(1020): Title->userCan('edit', Object(User), false)
#20 /home/luksiankey/data/www/life.pishi.info/includes/parser/ParserCache.php(32): Title->quickUserCan('edit', false)
#21 /home/luksiankey/data/www/life.pishi.info/includes/parser/ParserCache.php(45): ParserCache->getKey('edit')
#22 /home/luksiankey/data/www/life.pishi.info/includes/Article.php(742): ParserCache->getETag(Object(Article), Object(User))
#23 /home/luksiankey/data/www/life.pishi.info/includes/Wiki.php(437): Article->view(Object(Article), Object(User))
#24 /home/luksiankey/data/www/life.pishi.info/includes/Wiki.php(59): MediaWiki->performAction()
#25 /home/luksiankey/data/www/life.pishi.info/index.php(93): MediaWiki->initialize(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#26 {main}

Exception caught inside exception handler: exception 'MWException' with message 'Could not connect to database' in /home/luksiankey/data/www/life.pishi.info/includes/BagOStuff.php:496
Stack trace:
#0 /home/luksiankey/data/www/life.pishi.info/includes/BagOStuff.php(316): MediaWikiBagOStuff->getTableName()
#1 /home/luksiankey/data/www/life.pishi.info/includes/BagOStuff.php(240): SqlBagOStuff->_query('SELECT value,ex...', 'life-life1_:mes...')
#2 /home/luksiankey/data/www/life.pishi.info/includes/MessageCache.php(246): SqlBagOStuff->get('life-life1_:mes...')
#3 /home/luksiankey/data/www/life.pishi.info/includes/MessageCache.php(606): MessageCache->load('ru')
#4 /home/luksiankey/data/www/life.pishi.info/includes/MessageCache.php(543): MessageCache->getMsgFromNamespace('Databaseerror', 'ru')
#5 /home/luksiankey/data/www/life.pishi.info/includes/GlobalFunctions.php(467): MessageCache->get('databaseerror', true, false)
#6 /home/luksiankey/data/www/life.pishi.info/includes/GlobalFunctions.php(432): wfMsgGetKey('databaseerror', true, false, true)
#7 /home/luksiankey/data/www/life.pishi.info/includes/Exception.php(70): wfMsgReal('databaseerror', Array)
#8 /home/luksiankey/data/www/life.pishi.info/includes/db/Database.php(2565): MWException->msg('databaseerror', 'Database error')
#9 /home/luksiankey/data/www/life.pishi.info/includes/Exception.php(139): DBQueryError->getPageTitle()
#10 /home/luksiankey/data/www/life.pishi.info/includes/Exception.php(174): MWException->reportHTML()
#11 /home/luksiankey/data/www/life.pishi.info/includes/Exception.php(260): MWException->report()
#12 /home/luksiankey/data/www/life.pishi.info/includes/Exception.php(294): wfReportException()
#13 [internal function]: wfExceptionHandler(Object(DBQueryError))
#14 {main}