Troubleshooting > WordPress

I am receiving a “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.

define('DB_NAME', 'wordpress');

Confirm your DB_USER in your wp-config.php file corresponds to your MySQL user name. By default, MAMP PRO uses the ‘root’ user.

define('DB_USER', 'root');

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.

define('DB_PASSWORD', 'root');