ericovk
Verified User
I hit the bonus this week. Our server was full and had a power failure. Now some databases are somehow not functioning. I tried several things in the last 24 hours, but none of them with good results.
Some of the accounts appear to be ok, some of them not. Creating backups of all databases gives me several of these errors:
and
All .frm files seem to be available. But when I try to repair all tables with:
the check goes well on different accounts, until I get this error:
the process stops immediately. Strange enough I also get this message after I deleted the entire account of this user. (I have a backup, so it's safe)
I don't know how to fix this? Do I have any options of repairing or rebuilding?
Some of the accounts appear to be ok, some of them not. Creating backups of all databases gives me several of these errors:
Code:
[COLOR=#000000][FONT=verdana]mysqldump error output: mysqldump: Got error: 2013: Lost connection to MySQL server during query when using LOCK TABLES[/FONT][/COLOR]
and
Code:
[COLOR=#000000][FONT=verdana]Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)[/FONT][/COLOR]
All .frm files seem to be available. But when I try to repair all tables with:
Code:
mysqlcheck --defaults-extra-file=/usr/local/directadmin/conf/my.cnf --auto-repair --optimize --all-databases
the check goes well on different accounts, until I get this error:
Code:
ectrie_books.exp_online_users
note : Table does not support optimize, doing recreate + analyze instead
status : OK
mysqlcheck: Got error: 2013: Lost connection to MySQL server during query when executing 'OPTIMIZE TABLE ... '
the process stops immediately. Strange enough I also get this message after I deleted the entire account of this user. (I have a backup, so it's safe)
I don't know how to fix this? Do I have any options of repairing or rebuilding?