Title: multisite can&#039;t connect to database
Last modified: September 1, 2016

---

# multisite can't connect to database

 *  [aous77](https://wordpress.org/support/users/aous77/)
 * (@aous77)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-cant-connect-to-database/)
 * 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](https://wordpress.org/support/users/aous77/)
 * (@aous77)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-cant-connect-to-database/#post-7680521)
 * make that wordpress 6.0
 *  [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * (@danhgilmore)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-cant-connect-to-database/#post-7680537)
 * 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](https://wordpress.org/support/users/aous77/)
 * (@aous77)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-cant-connect-to-database/#post-7680538)
 * 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
 *  [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * (@danhgilmore)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-cant-connect-to-database/#post-7680547)
 * 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.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 4 replies
 * 2 participants
 * Last reply from: [danhgilmore](https://wordpress.org/support/users/danhgilmore/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/multisite-cant-connect-to-database/#post-7680547)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
