On my server I have 6 MySQL databases. They all power Wordpress websites. For some reason, 2 of these databases are not accessible. To my knowledge they use INNODB, but I can't confirm it as even doing a:
mysql> use INFORMATION_SCHEMA;
mysql> SELECT * FROM TABLES;
hangs on me. The working databases seem fine (at least the websites are online). When I tried to access the bad database websites, it will just keep spinning.
If I do a:
mysql> use rbb;
mysql> SELECT * FROM wp_posts;
It will just hang.
My server is running CentOS 6.2 and up to now i've had no issues.
Any pointers would be much appreciated. I have no idea what to do next.
Even opening a Sequel Pro to the server hangs the application.
If I try a query and then check the process list in another connection, it shows:
+----+------+-----------+-----+---------+------+----------------+------------------------+
| Id | User | Host | db | Command | Time | State | Info |
+----+------+-----------+-----+---------+------+----------------+------------------------+
| 10 | root | localhost | rbb | Query | 45 | Opening tables | SELECT * FROM wp_users |