Title: What is Database for WordPress Setup?
Last modified: August 27, 2018

---

# What is Database for WordPress Setup?

 *  [milkyway90](https://wordpress.org/support/users/milkyway90/)
 * (@milkyway90)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/what-is-database-for-wordpress-setup/)
 * What is:
    Database name? Database username? Database password? Database host?
   Table prefix?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwhat-is-database-for-wordpress-setup%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/what-is-database-for-wordpress-setup/#post-10605234)
 * You’ll need to set up the database on your localhost server using phpMyAdmin.
   Which localhost server software did you use?
 *  [Freddie](https://wordpress.org/support/users/fmixell/)
 * (@fmixell)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/what-is-database-for-wordpress-setup/#post-10605250)
 * If you’re using MAMP then go to the MAMP start page and click PHPmyadmin. Create
   a database. This is now your database. The username and password are both root.
   Table prefix should be the default wp_ and the host should be localhost.
 * If you’re not using MAMP reply back and let us know what you’re using.
 *  Thread Starter [milkyway90](https://wordpress.org/support/users/milkyway90/)
 * (@milkyway90)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/what-is-database-for-wordpress-setup/#post-10608094)
 * I am using XAMPP
 *  Thread Starter [milkyway90](https://wordpress.org/support/users/milkyway90/)
 * (@milkyway90)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/what-is-database-for-wordpress-setup/#post-10617932)
 * Okay solved the issue:
 * This is assuming you have XAMPP installed and have C:/xampp as your XAMPP directory
 * 1. Start up everything:
    1. Open XAMPP Control Panel 2. Click on the “Start” 
   button next to Apache 3. Click on the “Start” button next to mySQL
 * 2. Configure SQL:
    1. Open cmd.exe 2. Type in “cd ../../../../../../../../../../..”
   with A LOT of ..s 3. Type in “cd xampp/mysql/bin” 4. Type in “mysql.exe” 5. Type
   in “mysqladmin -u root password NEWPASSWORD” where NEWPASSWORD is the password
   you choose 6. Type “show databases”
 * 3. Configuring PHP:
    1. Open a text editor 2. Click on File > Open 3. Navigate
   to C:\xampp\phpMyAdmin 4. Select “config.inc.php” 5. Click on “Open” 6. Navigate
   to line 21 7. Enter the password you entered in Configure SQL: Step 5 between
   the single-quotes 8. Click on File > Save
 * 4. Getting WordPress ready to install:
    1. Download WordPress as a .zip file.
   2. Move the zip file to C:/xampp/htdocs 3. Left-click the .zip file, then right-
   click it. Click on “Extract Here” (or extract it, if you don’t have WinRAR)
 * 5. Downloading WordPress
    1. Search up “localhost/wordpress” 2. Select your language.
   3. Your database name is one of the names that came up in “show databases” (Configure
   SQL” step six). 4. Your database username is “root” 5. Your database password
   is the password you entered in Configure SQL: Step five 6. Your database host
   is “localhost” 7. Your table prefix is “wp_”
    -  This reply was modified 7 years, 9 months ago by [milkyway90](https://wordpress.org/support/users/milkyway90/).

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

The topic ‘What is Database for WordPress Setup?’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [milkyway90](https://wordpress.org/support/users/milkyway90/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/what-is-database-for-wordpress-setup/#post-10617932)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
