• After upgrading from MariaDB5 to MariaDB10 my WordPress website is down. It cannot connect to the database anymore.

    I’m running WordPress on my Synology server and have 1 database called wordpressblog.
    I have 2 instances with WP_ and GM_ ass prefix. The funny thing it the website with the WP_ prefix still works. But the other doesn’t.

    If I run the setup again it can login to the server, but cannot select the database.

    When I check with PHPmyadmin I can login and see the database with both WP_ and GM_ prefix.

    Any help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello thawizz, & welcome. Does your wp-config.php file reflect the proper table prefix?

    Thread Starter thawizz

    (@thawizz)

    Thanks. It’s fixed.

    I needed to add the following line after DB_HOST:

    /** MySQL hostname */
    define(‘DB_HOST’,’localhost:/run/mysqld/mysqld10.sock’);

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t select database after upgrade to MariaDB 10’ is closed to new replies.