K
K
Kirill Sidorov2012-05-08 11:47:02
MySQL
Kirill Sidorov, 2012-05-08 11:47:02

Lost connection to MySQL server?

Who faced such an unpleasant thing? Some tables in different databases began to fall out into the “Lost connection to MySQL server” error, and different tables from large to small, dismissed the reason for the refusal to allocate resources. Syslog shows error 11, Resource temporarily unavailable. Here is the full error log Updated mysql c 5.0 to 5.1 the problem remained. Debian Lenny Server.
Who faced? Tell me how to recover data?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
@
@mgyk, 2012-05-08
_

>Please use mysql_upgrade to fix this error.

Z
zuborg, 2012-05-08
@zuborg

mysqladmin variables | grep timeout

A
anatolijd, 2012-05-08
@anatolijd

and if you execute "REPAIR TABLE `cms_permissions`" - what happens?
in addition, lines 62-64 of your log clearly indicate that you have problems with mysql.* tables. you need to fix them first (mgyk:>Please use mysql_upgrade to fix this error.).

E
Evgeny Yablokov, 2012-05-09
@Gular

Have you tried mysqlcheck -a --auto-repair -c -e -o -r mysql?
Then mysql_upgrade.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question