No need to create a new database user; use the MAMP default ??
Re-name the wp-config.php file (e.g. wp-config_ORG.php) which will allow the installer to run again.
Assuming your MAMP installation is configured with it’s default settings:
Create a new, empty database
1. go to the MAMP Start Page – select Open start page from the MAMP Control Panel if the page is not already open in one of your browser tabs/windows
2. select phpMyAdmin from the Tools menu drop down or enter https://localhost:8888/phpmyadmin
in a new browser tab/window
3. in phpMyAdmin, select the Databases tab
4. enter a database name (lower case, no spaces or special charaters – for this example I’ll use macwordpress1
) in the Create database box then select the Create button
5. a notification will show that the above database has been created
6. notice that the new, empty macwordpress1 database is now in the list in the left side bar
7. close the phpMyAdmin tab/window as that is all there is to do for the database; the WordPress installer will create the necessary tables and populate them accordingly
Then start the install again:
– at the first screen, select the Create a Configuration File button
– at the next screen, select the Let’s go! button
– at the next screen enter the following:
— Database Name: macwordpress1
— User Name: root (this is the default MAMP database user name)
— Password: root (this is the default MAMP database password)
— Database Host: localhost
— Table Prefix: wp_ (leave as-is)
– select the Submit button
– All right, sparky! … select the Run the install button