Title: Installation
Last modified: August 20, 2016

---

# Installation

 *  [ameertarin](https://wordpress.org/support/users/ameertarin/)
 * (@ameertarin)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/installation-65/)
 * I am trying to connect to the database using XAMPP local server on my machine.
   It looks like I have done everything correct but each time I get the message “
   Error establishing database connection. I checked and rechecked my user name/
   password/my host details that I received from my hosting company. But it wouldn’t
   work. Can someone please help? Thanks.

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

 *  [mhintzke](https://wordpress.org/support/users/mhintzke/)
 * (@mhintzke)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/installation-65/#post-2887097)
 * Wait, so are you connecting to your localhost database or a hosting companies’
   database?
 *  Thread Starter [ameertarin](https://wordpress.org/support/users/ameertarin/)
 * (@ameertarin)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/installation-65/#post-2887141)
 * Thanks:
    wp-config has the details of pw etc. supplied to me by my hosting service
   and I presume install.php would connect to the host company’s database, if that
   is the correct thing to do. Please advise! Thanks again.
 *  [govpatel](https://wordpress.org/support/users/govpatel/)
 * (@govpatel)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/installation-65/#post-2887196)
 * You can not connect to host server database with your Xampp which is a server
   on your computer.
 * You will need to upload wordpress files and folder on host.
 * Xampp server is used for testing plugins and themes by advanced users and for
   beginners who do not have host account can learn how to use wordpress locally.
 *  [karwal.bubble](https://wordpress.org/support/users/karwalbubble/)
 * (@karwalbubble)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/installation-65/#post-2887277)
 * I am trying to connect my site with DB on my server. Its working fine on localhost..
   I created lots of websites. I dont know where the prblm is.. I changed dbname,
   pwd, username, host but still getting “Error establishing a database connection”.
 * Anyone who can help?? am I missing something??
 *  [karwal.bubble](https://wordpress.org/support/users/karwalbubble/)
 * (@karwalbubble)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/installation-65/#post-2887278)
 * Its working.. I have changed access options on server to “local/remote”..

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

The topic ‘Installation’ is closed to new replies.

## Tags

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

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 5 replies
 * 4 participants
 * Last reply from: [karwal.bubble](https://wordpress.org/support/users/karwalbubble/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/installation-65/#post-2887278)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
