WordPress Run WordPress local with XAMPP 2. Setup a database after installing XAMPP


To run WordPress on your computer you need to configurate a database first. Be sure that Apache and MySQL are running (see Installing XAMPP step 3)

  1. Start a web browser of your choice and enter "localhost" in the address.
  2. Choose your preferred language and select in the category "Tools" -> phpMyAdmin.
  3. Select the tab Databases.
  4. Enter the name of your database (you will need this name later) below "Create database" and choose utf8_general_ci in the dropdown "Collation".
  5. Click at your created database at the left side and select the tab Users.
  6. Add a new user by clicking at Add user.
  7. Enter your username, choose local in the "Host" dropdown (if you want access the database from other computers in the network choose Any host) and enter your password (you will need this later too).
  8. Check if below "Database for user" Grant all privileges on wildcard name is checked.
  9. Press Go.