Problems running WordPress on OSX local network
-
Hello,
Can someone please please help?!
I have been trying to run WordPress on a group of Apple MACs via local area network. I setup a machine to act as the host machine, using MAMP to provide the MySql/Apache sever. I called this machine “studioblog”. I called the new database in MAMP “wordpress”. The wp-config.php settings are:
db name: wordpress
db username: root
db password: root
db host: localhostI enabled Personal Web Sharing and placed MAMP’s “htdocs” folder in the ‘Sites’ folder on the “studioblog” machine so that now it sits in the following directory:
Users/kashif/Sites/htdocs/wordpress/
Now, the wordpress site works fine on the host machine. When I try to access it from another machine, I try using the following address:
https://”IP Address”/~kashif/htdocs/wordpress/
or
https://studioblog.local/~kashif/htdocs/wordpress/What I get from this is:
“Error establishing a database connection”
Any ideas what’s going wrong?
Kashif.
- The topic ‘Problems running WordPress on OSX local network’ is closed to new replies.