Skip to main content

Database error

Comments

2 comments

  • Can Yayo

    Clear Transients -->  Use a plugin like WP-Optimize to delete expired transients.
    Optimize Database --> In phpMyAdmin, optimize the wp_options table.
    Check Database Locks --> Run SHOW ENGINE INNODB STATUS; in phpMyAdmin to check for any locking issues.
    Update Themes/Plugins make sure all are updated.
    Increase Connections: Contact your host to increase max_connections if needed.

    0
  • cPRex Jurassic Moderator

    Can Yayo - it's unlikely any of those steps will help if there is an actual database error happening.

    The most likely issue in this instance is that a plugin or theme may not be properly designed and is locking the database, leading to this error.  If you have root access to the server I would try checking the MySQL error log at /var/log/mysqld.log.  If you only have cPanel access you could try deactivating any plugins you have to see if that keeps the error from happening.

    0

Please sign in to leave a comment.