I have installed WordPress and MAMP on my Mac for the first time and everything seems to be working fine with everything installed at http://localhost/mysite/public_html/blog/ (that is /Library/WebServer/Documents/mysite/public_html/blog/) and using “root” for username and password. I can go to http://localhost:8888/ and log in as admin and tweak “Appearance” and “Visit Site” OK, and I can view the rest of the site as a site visitor at http://localhost/mysite/public_html/, but when I go to http://localhost/mysite/public_html/blog/, I get the dreaded “Error connecting to database” message. I have dredged the internet for info about this and found a huge amount, including the excellent videos at http://educhalk.org/blog/error-establishing-a-database-connection-how-to-fix-this-wordpress-error/, but I don’t understand why I can see things one way and not the other. What am I missing, please, anyone?
- The topic ‘MAMP blog viewable by admin at http://localhost:8888/ but not by site visitors’ is closed to new replies.