Title: WordPress installation query
Last modified: August 21, 2016

---

# WordPress installation query

 *  [Sidhu](https://wordpress.org/support/users/sidhu/)
 * (@sidhu)
 * [12 years ago](https://wordpress.org/support/topic/wordpress-installation-query/)
 * I am unable to configure WordPress at my localhost.
 * What value should i place at database host field during configuring WordPress
   when i want to access the same from localhost?
 * Following are the field values that i am placing at the config page:
 * 1. Database Name: wordpress
    2. Database Host: localhost
 * Please help

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [12 years ago](https://wordpress.org/support/topic/wordpress-installation-query/#post-4957807)
 * Are you installing on your machine, or trying to access a site hosted elsewhere
   from your machine?
 *  Thread Starter [Sidhu](https://wordpress.org/support/users/sidhu/)
 * (@sidhu)
 * [12 years ago](https://wordpress.org/support/topic/wordpress-installation-query/#post-4957832)
 * its my local system where i am trying to install WordPress
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [12 years ago](https://wordpress.org/support/topic/wordpress-installation-query/#post-4957858)
 * If you are using xampp / mamp then you would create the database first.
    have
   you done this?
 * What package are you using to install locally?
 *  [rfair404](https://wordpress.org/support/users/rfair404/)
 * (@rfair404)
 * [12 years ago](https://wordpress.org/support/topic/wordpress-installation-query/#post-4957873)
 * if you’re on mac, MAMP sometimes can’t reach the db server on localhost. Can 
   you use the mysql command line to access it this way? e g:
 * `mysql -u dbusername -p -h localhost`
 * if not try to usie 127.0.0.1 as db host.

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

The topic ‘WordPress installation query’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 3 participants
 * Last reply from: [rfair404](https://wordpress.org/support/users/rfair404/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/wordpress-installation-query/#post-4957873)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
