Bug #62568 [Opn->Nab]: MySQL connect commands do not work
| From: | rasmus@php.net | Date: | Sun, 15 Jul 2012 04:35:57 +0000 |
| Subject: | Bug #62568 [Opn->Nab]: MySQL connect commands do not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171965@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62568&edit=1
ID: 62568
Updated by: rasmus@php.net
Reported by: brandonskypimenta at gmail dot com
Summary: MySQL connect commands do not work
-Status: Open
+Status: Not a bug
Type: Bug
Package: MySQL related
Operating System: Mac OS X
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Nothing PHP can do about that. Your client and server don't match. But we do give
you an easy work-around by letting you specify the right path using
http://www.php.net/manual/en/mysql.configuration.php#ini.mysql.default-socket
Previous Comments:
------------------------------------------------------------------------
[2012-07-15 04:16:56] brandonskypimenta at gmail dot com
Description:
------------
When you try to run mysql_connect() under MySQL under OS X 10.6.2 with MySQL installed (under PHP
5.3.0), you will get an error saying the MySQL socket file doesn't exist. Here's an
example with vBulletin 3.8.5:
mysql_connect(): No such file or directory /path/to/vbulletin/root/includes/class_core.php on line
314
Expected result:
----------------
The database could have connected properly.
Actual result:
--------------
mysql_connect(): No such file or directory /Users/sky/Sites/vb/includes/class_core.php on line 314
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62568&edit=1