Complete the code to start the Apache server in XAMPP control panel.
Click the [1] button next to Apache to start the server.To run your WordPress site locally, you need to start the Apache server by clicking the Start button in XAMPP.
Complete the code to access the local WordPress site in your browser.
Open your browser and go to http://[1]/ to see your WordPress site.
The address localhost points your browser to your own computer where the local server runs.
Fix the error in the wp-config.php file to connect to the local database.
define('DB_NAME', '[1]');
The DB_NAME constant should be set to the name of your WordPress database, such as wordpress_db.
Complete the code to set the database username and password in wp-config.php.
define('DB_USER', '[1]'); define('DB_PASSWORD', '');
By default, XAMPP uses root as the database username and an empty string "" as the password.
Fill all three blanks to create a new database in phpMyAdmin using SQL.
CREATE DATABASE [1] CHARACTER SET [2] COLLATE [3];
Use wordpress_db as the database name, utf8mb4 as the character set for full Unicode support, and utf8mb4_general_ci as the collation for case-insensitive sorting.