| 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:
|
||
Showing messages 1 through 1 of 1.
-
test.php does not work
2002-07-19 20:22:40 placebo [View]



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.