Title: Installation Issue (Database Connectivity)
Last modified: August 19, 2016

---

# Installation Issue (Database Connectivity)

 *  Resolved [Jayman Pandya](https://wordpress.org/support/users/jaymanpandya/)
 * (@jaymanpandya)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/installation-issue-database-connectivity/)
 * Hi All,
 * I am new to wordpress installation on a local machine. I am a MAC user and am
   trying to install wordpress 2.9.1 on my osx 10.6 using xampp.
 * when i try and go to [http://localhost/wordpress/wp-admin/install.php](http://localhost/wordpress/wp-admin/install.php)
   the page shows me and error saying :
 * “
    Can’t select database
 * We were able to connect to the database server (which means your username and
   password is okay) but not able to select the wordpress database.
 *  * Are you sure it exists?
    * Does the user tuts have permission to use the wordpress
   database? * On some systems the name of your database is prefixed with your username,
   so it would be like username_wordpress. Could that be the problem?
 * If you don’t know how to setup a database you should contact your host. If all
   else fails you may find help at the WordPress Support Forums.
    “
 * please help…

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

 *  [neodan](https://wordpress.org/support/users/neodan/)
 * (@neodan)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/installation-issue-database-connectivity/#post-1334342)
 * Why are you using XAMPP? You need to have XAMPP running to ensure your site will
   be online. And since your using a laptop for a webserver, it will
    1) Drain your
   battery 2) The speeeds will be very slow for other users and 3) Most isps don’t
   allow it
 * Make sure you turned on MYSQL/Apache and also make sure you added the user to
   the database…
 * —
    I strongly suggest you find a webhost, there are tons of free ones out there
 *  Thread Starter [Jayman Pandya](https://wordpress.org/support/users/jaymanpandya/)
 * (@jaymanpandya)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/installation-issue-database-connectivity/#post-1334350)
 * Thank you very much Neodan… You solved my problem… my user tuts was not added
   in the database… I am trying to install this only to learn to create themes for
   WP. once i am happy and done with my theme i will upload it to my server…
 * And yes again thank you very much for the help… 😀
 *  [neodan](https://wordpress.org/support/users/neodan/)
 * (@neodan)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/installation-issue-database-connectivity/#post-1334355)
 * Glad everything worked out. =)

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

The topic ‘Installation Issue (Database Connectivity)’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 2 participants
 * Last reply from: [neodan](https://wordpress.org/support/users/neodan/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/installation-issue-database-connectivity/#post-1334355)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
