Title: database error
Last modified: August 18, 2016

---

# database error

 *  [awh](https://wordpress.org/support/users/awh/)
 * (@awh)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/database-error/)
 * New install. Converting from Greymatter.
    I created a MySQL database on the Linux/
   Apache web server. Couldn’t get wp-admin/install-config.php to work. Kept getting
   permission errors. Made a wp-config.php manually. Now wp-admin/install.php says
   this: Error establishing a database connection! This probably means that the 
   connection information in youn wp-config.php file is incorrect. Double check 
   it and try again. * Are you sure you have the correct user/password? * Are you
   sure that you have typed the correct hostname? * Are you sure that the database
   server is running? To which I reply: yes, no, yes. My wp-config.php. // ** MySQL
   settings ** // define(‘DB_NAME’, ‘weblog1’); // The name of the database define(‘
   DB_USER’, ‘awhdb’); // Your MySQL username define(‘DB_PASSWORD’, ‘*****************’);//…
   and password define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to 
   change this value Nowhere have I typed in the correct hostname. The error message
   says to make sure to do this. I have not. The instructions don’t say anything
   about a hostname. Where would I type in the hostname? As for permissions, I have
   not changed anything. TIA for all help.

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

 *  Thread Starter [awh](https://wordpress.org/support/users/awh/)
 * (@awh)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/database-error/#post-37596)
 * The hostname “localhost” seems to be the right one.
    I made sure to upload all
   the files in ASCII mode. I am on a shared Linux server hosted by UCVHost. I created
   the MySQL database through the Plesk administrative interface on my server. At
   this point, I’m not sure I created database in the correct way. I don’t have 
   telnet access so I can’t just try to connect to the MySQL database that way. 
   I am talking to technical support with UCVHost about the database.
 *  Thread Starter [awh](https://wordpress.org/support/users/awh/)
 * (@awh)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/database-error/#post-37636)
 * “define(‘DB_PASSWORD’, ‘*****************’);”
    Turns out my password was too 
   long! Shortening it got it working.
 *  Moderator [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * (@matt)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/database-error/#post-37637)
 * Never heard of that. Glad to hear you got it working.

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

The topic ‘database error’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [Matt Mullenweg](https://wordpress.org/support/users/matt/)
 * Last activity: [22 years, 3 months ago](https://wordpress.org/support/topic/database-error/#post-37637)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
