Title: database not working?
Last modified: August 18, 2016

---

# database not working?

 *  [scislac](https://wordpress.org/support/users/scislac/)
 * (@scislac)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/database-not-working/)
 * In case it helps I’m trying to install WP 1.2-RC1 and I’m hosting with Dathorn.
   My issue is that I follow the installation instructions and it is not working.
   I’ve set up a wordpress database and a user for it. But when I go to the install
   script it says “We’re having a little trouble selecting the proper database for
   WordPress.” “Are you sure it exists?” blah blah… everything in the config file
   mirrors what I set up, and even on the second question, it acknowledges what 
   I put in the config file (and it looks identical to the database info from phpmyadmin).
   So at this point I just feel dumb. It all matches, but doesn’t seem to work. 
   So my 5 minute install is at about 20mins already = ) Thanks! -Josh

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

 *  1539
 * [21 years, 10 months ago](https://wordpress.org/support/topic/database-not-working/#post-52304)
 * Verify the MySQL host in your wp-config.php file is correct. The default is localhost
   and that is fine 99.9% of the time (according to WP), but with some servers, 
   such as my [web host](http://netfirms.com), I had to use MySQLHost instead of
   localhost.
 *  [CeeJayCee](https://wordpress.org/support/users/ceejaycee/)
 * (@ceejaycee)
 * [21 years, 10 months ago](https://wordpress.org/support/topic/database-not-working/#post-52342)
 * scislac, don’t worry. I’ve done that many times too
 *  Anonymous
 * [21 years, 10 months ago](https://wordpress.org/support/topic/database-not-working/#post-52543)
 * [@scislac](https://wordpress.org/support/users/scislac/): Could you tell me how
   do you create the user, then give him access to the database ?
 *  Anonymous
 * [21 years, 10 months ago](https://wordpress.org/support/topic/database-not-working/#post-52622)
 * Hi,
    I have exactly the same problem. (“we’re having a litte…”). So I too would
   like to know how to give the user access to the database! Thanks, Matthijs
 *  [iki](https://wordpress.org/support/users/iki/)
 * (@iki)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/database-not-working/#post-52834)
 * It depends on whether you’re using cPanel or Plesk.
    I’ve always used Plesk, 
   and have just moved to a new host using cPanel – so I managed to get my database
   imported and everything in there using phpmyadmin, only to have this same problem.
   The database was there, and the user was there; trouble was, they weren’t associated
   with eachother! Turns out in cPanel you have to explicitly add a user to the 
   database… in Plesk you had to be inside the database before you could even add
   a user, so it sort of did this by itself.

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

The topic ‘database not working?’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 5 participants
 * Last reply from: [iki](https://wordpress.org/support/users/iki/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/database-not-working/#post-52834)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
