MySQL Forums
Forum List  »  PHP

PHP 5.3.2 Refuses to connect via mysqli
Posted by: C E
Date: September 03, 2010 02:13PM

Running: Mac OS X 10.6
Via: PHP 5.3.2
Using: mysqli_connect
Response:"

Warning: mysqli_connect() [function.mysqli-connect]: [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in directory/thescript.php on line 3

Warning: mysqli_connect() [function.mysqli-connect]: (HY000/2002): No such file or directory in directory/thescript.php on line 3

"

Line 3: "$dbc = mysqli_connect('localhost','VALID_USER','VALID_PASSWORD','VALID_DATABASE');"

Options: ReplyQuote


Subject
Written By
Posted
PHP 5.3.2 Refuses to connect via mysqli
C E
September 03, 2010 02:13PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.