Title: Host-error
Last modified: August 19, 2016

---

# Host-error

 *  Resolved [Loke](https://wordpress.org/support/users/zanitys/)
 * (@zanitys)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/host-error-1/)
 * As I try to log onto (site-name)/wp-admin/install.php and end the whole thing,
   I get this message:
 * 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 localhost. 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?
 * Well, it seem I´m at least getting close to the finnish, since it´s written in
   the wordpress-font and everything.
 * Yup, I´m sure I´ve gotten the username and password correct and the database 
   is surely running so it must be the hostname. In the file wp-config I haven´t
   typed anything as Mysql-hostname so that´s it, right?
 * What exactly am I supposed to write? I know how sensitive these things are. All
   though I´m not sure this is relevant, and at the risk of making myself look childlike
   dumb, my webhost, or serverprovider, or whatever its titel is, is 000webhost.
   com
 * I´ve never made a site before and I´m not sure how anything at all works…

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

 *  [jd](https://wordpress.org/support/users/jeffdjacobsgmailcom/)
 * (@jeffdjacobsgmailcom)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/host-error-1/#post-1879963)
 * try localhost
 *  [Kailash](https://wordpress.org/support/users/kailash1/)
 * (@kailash1)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/host-error-1/#post-1879969)
 * If localhost is not working, you will have to obtain MySQL hostname from your
   host.
 *  Thread Starter [Loke](https://wordpress.org/support/users/zanitys/)
 * (@zanitys)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/host-error-1/#post-1880013)
 * jd:
    Do you mean I should _type_ ‘localhost’?
 * Kailash:
    Exactly what is the mysql hostname and how do I get it?
 * Both:
    Doesn´t localhost simply mean that I´m running wordpress on my computer
   only? I want it to be on the internet.
 *  [Kailash](https://wordpress.org/support/users/kailash1/)
 * (@kailash1)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/host-error-1/#post-1880074)
 * Hostname is a fully qualified domain name which is bound to IP address. If MySQL
   is running on the same server, localhost should work in most cases. In case if
   it is not working, only your host can provide the hostname of MySQL server.
 *  Thread Starter [Loke](https://wordpress.org/support/users/zanitys/)
 * (@zanitys)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/host-error-1/#post-1880112)
 * Thank you all for your kind help!
 * I´ve found the correct hostname and my issue has been resolved. 🙂

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

The topic ‘Host-error’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: [Loke](https://wordpress.org/support/users/zanitys/)
 * Last activity: [15 years, 4 months ago](https://wordpress.org/support/topic/host-error-1/#post-1880112)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
