Title: WordPress &gt; Error
Last modified: August 18, 2016

---

# WordPress > Error

 *  [goldbishop](https://wordpress.org/support/users/goldbishop/)
 * (@goldbishop)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-gt-error/)
 * Hello All,
    I am getting the, evidently “blue-screen of Death”, for wordpress.
   obviously, this is a web-based form but the install isnt going good. Here are
   the stats in the config file, obviously adjusted.
 * define(‘DB_NAME’, ‘<username>_test’); // The name of the database
    define(‘DB_USER’,‘
   <username>_user’); // Your MySQL username define(‘DB_PASSWORD’, ‘<pass>’); //…
   and password define(‘DB_HOST’, ‘mysql.avidhosting.com’); // 99% chance you won’t
   need to change this value define(‘DB_CHARSET’, ‘utf8’); define(‘DB_COLLATE’, ”);
 * the rendered error message is:
 * 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 <username
   >_test database.
 * Are you sure it exists?
    On some systems the name of your database is prefixed
   with your username, so it would be like username_wordpress. Could that be the
   problem?
 * Now my hosting company is AvidHosting and they specified a port for the mysql
   server. I appended this to the DB_host entry in the config file (i.e.: ‘mysql.
   avidhosting.com:3306’) and still nothing. The user name that i did use is the
   account default super-admin ID.
 * In the past i havent had much, if any, problems with setting PHP BB or eCommerce
   sites, but this one is throwing me for a curve. BTW, this has a business type
   interface, but its really just a resume site, that i mostly use for email for
   the family.

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-gt-error/#post-594874)
 * you dont need to specify the port number — port 3306 is the standard port # used
   for MySQL.
 * _…but not able to select the <username>\_test database._
 * Thats what you need to focus on .. thats telling you that that a databse by that
   name does not exist. So either it doesnt, or you you are using the wrong name
   for 1 that does.
 * Its just that simple, trust me 🙂
 *  Thread Starter [goldbishop](https://wordpress.org/support/users/goldbishop/)
 * (@goldbishop)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-gt-error/#post-594907)
 * well, found out this morning that the database was created but im not able to
   access it through the user account specified. Going to contact my hosting svc
   and see whats up.

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

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

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 2 replies
 * 2 participants
 * Last reply from: [goldbishop](https://wordpress.org/support/users/goldbishop/)
 * Last activity: [18 years, 10 months ago](https://wordpress.org/support/topic/wordpress-gt-error/#post-594907)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
