WordPress.org

Ready to get started?Download WordPress

Forums

Problems running WordPress on OSX local network (1 post)

  1. kashifamin
    Member
    Posted 6 years ago #

    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: localhost

    I 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:

    http://"IP Address"/~kashif/htdocs/wordpress/
    or
    http://studioblog.local/~kashif/htdocs/wordpress/

    What I get from this is:

    "Error establishing a database connection"

    Any ideas what's going wrong?

    Kashif.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.