I know that the pages that I am using worked.  I created them, then had to
reload my OS.  I saved everything before erasing the HD.  I have restored
the files but now I get a warning message that says MySQL Connection
Failed: Can't connect to local MySQL server through socket ....

The mysql.sock does exist, there is also a pid file there pointing to the
current running occurance of MySQL.

I have root set up with a password and I am able to connect to MySQL from
a promopt.  Below is the offending code.  I think there is something that
I missed when I set things up.

FYI: I am running RH7.0 and Apache

you are welcome to check out this page:

  $link = mysql_connect("localhost", "root", "secret") or
die("can't connect");

Last, I did look for the php-mysql module and it is on the system.



PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to