yes like the user and the password ****** and ****** arent working for me. ;)
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Brad Pauly" <[EMAIL PROTECTED]>, "Donald Tyler" <[EMAIL PROTECTED]>
CC: <[EMAIL PROTECTED]>
Subject: RE: [PHP] mysql.sock file location
Date: Thu, 25 Sep 2003 10:12:50 -0500
[snip] > Here's the test script I am using: (Presume that's what you meant by > "connection string"? > > <?PHP > > if($Connection = mysql_connect('localhost', '******', '******')) > print 'Success!'; > else > print 'Failure'; > > ?> [/snip]
Let's get a hair more info, try
if(!($Connection = mysql_connect('localhost', '******', '******'))){ print(mysql_error() . "\n"); exit(); }
It also has the added benefit of shortening the code
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php