Title: Domain mapping database connection issue
Last modified: August 19, 2016

---

# Domain mapping database connection issue

 *  [jpilantrose](https://wordpress.org/support/users/jpilantrose/)
 * (@jpilantrose)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-database-connection-issue/)
 * I’ve mapped a site using the domain mapping plug-in and the reroute seems to 
   be working fine. Oddly, however, wordpress is giving me a MySQL DBMS error 1045:
   Access denied for user ‘root’@’localhost’ (using password: YES) error at the 
   mapping domain. What is strange about this is that the wordpress build connects
   to the database fine AND my config file doesn’t use the user “root”. Can anyone
   shed any light on what might be going on here?
 * Thanks in advance!

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

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-database-connection-issue/#post-1623528)
 * Is this related to your thread here?
    [http://wordpress.org/support/topic/domain-mapping-to-another-sites-directory](http://wordpress.org/support/topic/domain-mapping-to-another-sites-directory)
 *  Thread Starter [jpilantrose](https://wordpress.org/support/users/jpilantrose/)
 * (@jpilantrose)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-database-connection-issue/#post-1623530)
 * No this is another site on the same multisite build. It’s going to an entirely
   different domain and returning this error.
 *  Thread Starter [jpilantrose](https://wordpress.org/support/users/jpilantrose/)
 * (@jpilantrose)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-database-connection-issue/#post-1623757)
 * This ended up being two issues with my hosting service. One: the permissions 
   of directory was preventing the database from being accessed (see: [http://rhcelinuxguide.wordpress.com/2008/08/25/mysql-error-1045-28000-access-denied-for-user-rootlocalhost-using-password-yes/](http://rhcelinuxguide.wordpress.com/2008/08/25/mysql-error-1045-28000-access-denied-for-user-rootlocalhost-using-password-yes/)).
   Two: my hosting service needed to set up a server alias and restart apache. Once
   these issues were addressed, the database error disappeared and the site showed
   up at its designated domain.
 * The other issue (detailed here: [http://wordpress.org/support/topic/domain-mapping-to-another-sites-directory](http://wordpress.org/support/topic/domain-mapping-to-another-sites-directory))
   still persists, now across all mapped domains. Investigating that now. Thanks
   for your help Andrea!

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

The topic ‘Domain mapping database connection issue’ is closed to new replies.

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 3 replies
 * 2 participants
 * Last reply from: [jpilantrose](https://wordpress.org/support/users/jpilantrose/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/domain-mapping-database-connection-issue/#post-1623757)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
