Title: GoDaddy Virtual Server Localhost
Last modified: August 18, 2016

---

# GoDaddy Virtual Server Localhost

 *  [stevececil](https://wordpress.org/support/users/stevececil/)
 * (@stevececil)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/godaddy-virtual-server-localhost/)
 * I am trying to set up a mysql database for wp, but from the information I have
   read “localhost” will not work as the host name on a GoDaddy account. I’m using
   the Plesk control panel and it does not tell me the name of the host. Any Suggestions?
 * I get this message when trying to run the install:
 * Error establishing a database connection
    This either means that the username
   and password information in your wp-config.php file is incorrect or we can’t 
   contact the database server at DB_HOST. This could mean your host’s database 
   server is down.
 * Are you sure you have the correct username and password?
    Are you sure that you
   have typed the correct hostname? Are you sure that the database server is running?

Viewing 1 replies (of 1 total)

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 2 months ago](https://wordpress.org/support/topic/godaddy-virtual-server-localhost/#post-549137)
 * Go to your hosting account’s control panel. Click on the MySQL icon. Next to 
   your database, there’s an icon that looks like a pencil. Click it. The host name
   is given to you there. It should look something like: mysql5.secureserver.net
   or similar.

Viewing 1 replies (of 1 total)

The topic ‘GoDaddy Virtual Server Localhost’ is closed to new replies.

## Tags

 * [godaddy](https://wordpress.org/support/topic-tag/godaddy/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 1 reply
 * 2 participants
 * Last reply from: [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/godaddy-virtual-server-localhost/#post-549137)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
