Error Establishing Database Connection
-
Hey all, I’ve been stuck on this for a LONG time. So I installed MAMP locally on my computer, and I downloaded the WP zip so I can install WordPress on this server. I followed this guide: https://www.smashingmagazine.com/2011/09/developing-wordpress-locally-with-mamp/
I checked the database’s name, password, and user.
define(‘DB_NAME’, ‘wordpress’);
/** MySQL database username */
define(‘DB_USER’, ‘root’);/** MySQL database password */
define(‘DB_PASSWORD’, ‘root’);The folder name I extracted from the WordPress.zip file, I renamed the folder to wordpress. I extracted that into the htdocs folder provided by MAMP. I typed https://localhost:8888/wordpress/ and it shows nothing but “Error establishing database connection” what do I do?
I tried every troubleshooting technique and I feel like I’m wasting more time getting this set up than actually developing themes.
Ben
- The topic ‘Error Establishing Database Connection’ is closed to new replies.