WordPress can’t establish connection with DB

I just got an error message coming from wordpress saying on the index page that the connection to the database is not possible. I expected a problem in the connection chain but the real issue was related to a corrupted table in the database.

This as been fixed by repairing this table. So take care of the messages that can be wrong in the index page. The message in the admin index page was better concerning this point.