Title: WordPress Error
Last modified: August 22, 2016

---

# WordPress Error

 *  [stuart89](https://wordpress.org/support/users/stuart89/)
 * (@stuart89)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-error-38/)
 * I try to connect to the database, but every time I try to do it, it won’t establish
   a connection to the link for WordPress.
 * Does anyone know how to try and solve this problem. I’ve absolutely tried to 
   follow everything and still nothing wouldn’t work.
 * This is the message I do get anyway. I am using Windows 8.1
 * I’ve read all that and tried to establish everything, but still the problem persists.
   Is there anybody there techy enough to do it – it should come up like straight
   away. I don’t understand it!
 * Can’t select database
 * We were able to connect to the database server (which means your username and
   password is okay) but not able to select the database_name_here database.
    •Are
   you sure it exists? •Does the user root have permission to use the database_name_here
   database? •On some systems the name of your database is prefixed with your username,
   so it would be like username_database_name_here. Could that be the problem

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

 *  [abletec](https://wordpress.org/support/users/abletec/)
 * (@abletec)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-error-38/#post-5437201)
 * Hi, stuart89, & welcome. Is this a local install? If so, did you use anything
   like Xampp or Wampp or Ampps?
 * Did you fill in the correct username, database name, & password in wp-config?
   It sounds as though the message is saying your database name is incorrect.
 *  [CMSHelpLive](https://wordpress.org/support/users/cmshelplivecom/)
 * (@cmshelplivecom)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-error-38/#post-5437356)
 * Hi,
 * This may be because of your mismatched database name in wp-config.php and phpmyadmin
   files.
 *  [Viktor V.](https://wordpress.org/support/users/fesovik/)
 * (@fesovik)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-error-38/#post-5437367)
 * Hello Stuart89,
 * If you are using localhost (xampp) and if you don’t have a password of the database
   user just leave the password option blank (“”). The default user for xampp on
   Windows is root.
 * The tables of WordPress are usually with a prefix wp_, you can also change that
   in wp-config.php.

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

The topic ‘WordPress Error’ is closed to new replies.

## Tags

 * [Can't select database](https://wordpress.org/support/topic-tag/cant-select-database/)
 * [word press error](https://wordpress.org/support/topic-tag/word-press-error/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 3 replies
 * 4 participants
 * Last reply from: [Viktor V.](https://wordpress.org/support/users/fesovik/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/wordpress-error-38/#post-5437367)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
