ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Apache Web-Serving With Mac OS X, Part 5
Subject:   test.php does not work
Date:   2002-07-19 20:22:40
From:   placebo
Response to: test.php does not work

...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.