Women in Technology

Hear us Roar



Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   test.php does not work
Date:   2002-07-19 12:38:10
From:   placebo
Response to: test.php does not work

try this first and see if it works:


turn your "web sharing" under the 'sharing' system preferences. it isn't as obvious as it should be but your computer is trying to reach itself and cannot connect because sharing is off.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • test.php does not work
    2002-07-19 20:22:40  placebo [View]

    ...then try this:

    make sure the <password> is left blank in this line in the test.php file...

    // log into our local server using the MySQL root user.
    $dbh = mysql_connect( "localhost", "root", "<password>" );

    ...would read:

    // log into our local server using the MySQL root user.
    $dbh = mysql_connect( "localhost", "root", "" );

    i am having the same problem---as some people here are having here---in setting a mysql root password.