Skip navigation links

MySQL Forums :: PHP :: PHP 5.3.2 Refuses to connect via mysqli


Advanced Search

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 09/03/2010 02:13PM
Re: PHP 5.3.2 Refuses to connect via mysqli Rick James 09/04/2010 08:33PM
Re: PHP 5.3.2 Refuses to connect via mysqli Roman Reimkhe 11/17/2010 11:13AM
Re: PHP 5.3.2 Refuses to connect via mysqli Peter Brawley 11/17/2010 09:37PM


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.