Website shows 503 Service Unavailable: Got error 127 when reading table

Created:

2017-03-07 23:03:19 UTC

Modified:

2017-08-08 13:45:51 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Website shows 503 Service Unavailable: Got error 127 when reading table

Symptoms

  • Website shows 503 Service Unavailable
  • /var/log/mysqld.log file contains:
    170307 16:54:44 [ERROR] Got error 127 when reading table './dbname/ex_table'
    170307 16:54:44 [ERROR] Got error 134 when reading table './dbname/ex_table'
    

Cause

MySQL table corrupted

Resolution

  1. Repair broken table

    mysql> REPAIR TABLE dbname.ex_table;
    
  2. Restart MySQL

    ~# service mysqld restart 

 

Have more questions? Submit a request
Please sign in to leave a comment.