• i am getting the following two after updating to 4.5.3 and updating the server with latest security patches:

    Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50547 Library:100116 in /var/www/html/mysite/wp-includes/wp-db.php on line 1549

    Warning: mysql_connect(): Can’t connect to MySQL server on ‘mysitedb.us-west-2.rds.amazonaws.com:3306’ (13 “Permission denied”) in /var/www/html/mysite/wp-includes/wp-db.php on line 1549

    i am able to connect to the database via SSH on that box just fine but for some reason wordpress is not able to connect.

    i tried installing mariadb locally and witched the db_host to localhost but the same error occurs.

    i am on a deadline and i would really appreciate the assist

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter aous77

    (@aous77)

    make that wordpress 6.0

    What version of PHP and MySQL are you using on your webhost?

    Also, there is no WordPress 6.0…it’s only been upgraded to 4.6 🙂

    Thread Starter aous77

    (@aous77)

    i apologize, it is
    wordpress 4.6 (not 4.5.3 and not 6.0)
    PHP Version 5.4.16
    MariaDB 10.0.24 (hosted on Amazon RDS)
    CentOS 7

    I’ve found a few posts saying that upgrading to PHP 5.5.x solved the Headers and client library minor version mismatch error.

    Maybe that will fix the second error?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘multisite can't connect to database’ is closed to new replies.