Title: Database not working correctly
Last modified: August 20, 2016

---

# Database not working correctly

 *  [Connor McCrorey](https://wordpress.org/support/users/connor-mccrorey/)
 * (@connor-mccrorey)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/database-not-working-correctly/)
 * I have uploaded all of the files and created a database, but even though I’m 
   positive everything is correct in wp-config.php, I still get a database error
   when trying to do anything with it. Any suggestions? I can gladly provide more
   detail if necessary.

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

 *  [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/database-not-working-correctly/#post-2336943)
 * What is the error you are getting? Sound like it might not be the default “Error
   Connecting To Database” error that wordpress gives you when your config file 
   is wrong. Also, is this a fresh install of wordpress, or a transfer of an existing
   site?
 *  [livingeminence](https://wordpress.org/support/users/livingeminence/)
 * (@livingeminence)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/database-not-working-correctly/#post-2336980)
 * Im getting the same error message. Where could the config file be wrong? The 
   secret code? Frustrating after all of that…
 *  [Mat Lipe](https://wordpress.org/support/users/mat-lipe/)
 * (@mat-lipe)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/database-not-working-correctly/#post-2337003)
 * I have seen it before where the user is set up for the database, but the user
   has not been given the proper permissions. To troubleshoot this, I would give
   the user you are using for wordpress all permissions and see if that makes a 
   difference.
 *  [martindm86](https://wordpress.org/support/users/martindm86/)
 * (@martindm86)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/database-not-working-correctly/#post-2337018)
 * Are you using XAMPP (local apache and mysql) Connor? Is your MySQL service running?

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

The topic ‘Database not working correctly’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 4 participants
 * Last reply from: [martindm86](https://wordpress.org/support/users/martindm86/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/database-not-working-correctly/#post-2337018)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
