You’ll need to set up the database on your localhost server using phpMyAdmin. Which localhost server software did you use?
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.
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.