I am receiving an “Error establishing database connection” error.
Confirm your DB_NAME variable in your wp-config.php file corresponds to the database name in your MySQL database. Your wp-config.php file is located in your document root.
Confirm your DB_USER in your wp-config.php file corresponds to your MySQL username. By default, MAMP PRO uses the ‘root’ user.
Confirm your DB_PASSWORD in you wp-config.php files corresponds to your MySQL database password. By default, MAMP PRO uses ‘root’ as the password. Your password can be changed on the MySQL tab.