Title: Problem with local install
Last modified: August 18, 2016

---

# Problem with local install

 *  [stormsguard](https://wordpress.org/support/users/stormsguard/)
 * (@stormsguard)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-with-local-install/)
 * I’ve been trying to install WP locally so i can work on it off line before uploading
   to my server. However it dosent work, i have followed the instructions in the
   instal guide, but i get this error:
 * 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 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?
 * Im using WAMP5, any advice would be grateful, thanks

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317400)
 * Check your root security settings ?
 * I wrote this for Xampp
    [http://www.tamba2.org.uk/wordpress/xampp/](http://www.tamba2.org.uk/wordpress/xampp/)
 *  [skulled](https://wordpress.org/support/users/skulled/)
 * (@skulled)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317401)
 * Check to make sure that the MySQL service is running, try stopping and then re-
   starting the MySQL service.
 * And make sure you are using the proper settings for the database connection…
 *  Thread Starter [stormsguard](https://wordpress.org/support/users/stormsguard/)
 * (@stormsguard)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317765)
 * Thankies got it working finally. I was putting the wrong username in >.<
 *  [greeny](https://wordpress.org/support/users/greeny/)
 * (@greeny)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317773)
 * i am having the same problem. i have not registered my domain name so i’m working
   the in the ftp files for now. the path is / public_ftp / wp-admin / install.php.
   i notice that it doesn’t give a url as if it was in the html folder. can i run
   the install like this? i really don’t know what i am doing.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317774)
 * _i really don’t know what i am doing_
    Probably that’s the only thing we can 
   agree on 🙂
 * _i have not registered my domain name so i’m working the in the ftp files for
   now_
    1. WP will not work without a domain. 2. What is a “FTP file”? Never heard
   of it before…
 * _the path is / public\_ftp / wp-admin / install.php_
    Don’t even try. It will
   not work.
 * _i am having the same problem_
    I don’t see anything related to the OP (=original
   poster).
 *  [greeny](https://wordpress.org/support/users/greeny/)
 * (@greeny)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317775)
 * so it needs to be [http://www.yoursitename.com/wp-admin/install.php?](http://www.yoursitename.com/wp-admin/install.php?)
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317777)
 * Unless you’re using a local server, in which case you can try localhost/pathtowp/
   wp-admin/install.php

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

The topic ‘Problem with local install’ is closed to new replies.

## Tags

 * [installation](https://wordpress.org/support/topic-tag/installation/)
 * [local](https://wordpress.org/support/topic-tag/local/)
 * [WAMP](https://wordpress.org/support/topic-tag/wamp/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 7 replies
 * 6 participants
 * Last reply from: [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/problem-with-local-install/#post-317777)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
