Plesk for Windows
Plesk for Linux
kb: technical
Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
-
A WordPress website fails to load with the following error:
PLESK_INFO: Error establishing a database connection
-
The following error message appears in Domains > example.com > Logs:
CONFIG_TEXT: AH01071: Got error 'PHP message: WordPress database error Table 'wordpress_db.K5p5GRQg_sitemeta' doesn't exist for query
Cause
The table mentioned in the error message is missing:
# plesk db
MariaDB [psa]> use wordpress_db
MariaDB [wordpress_db]> select * from wordpress_db.K5p5GRQg_sitemeta;
ERROR 1146 (42S02): Table 'wordpress_db.K5p5GRQg_sitemeta' doesn't exist
Resolution
Apply one of the following solutions:
- Restore the database from a backup
- Contact the website developer
Comments
0 comments
Please sign in to leave a comment.