why this code needs mysql.sock instead of mysqld.sock
| From: | ann kok | Date: | Tue, 02 Dec 2008 20:15:46 +0000 |
| Subject: | why this code needs mysql.sock instead of mysqld.sock | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-284004@lists.php.net to get a copy of this message | ||
Hi all
<?php
$link=mysql_connect('localhost','usrname','password');
if(!$link) echo "fail";
else echo "success";
mysql_close();
?>
Thank you
__________________________________________________________________
Connect with friends from any web browser - no download required. Try the new Yahoo! Canada
Messenger for the Web BETA at http://ca.messenger...yahoo.com/webmessengerpromo.php