Edit report at https://bugs.php.net/bug.php?id=62568&edit=1
ID: 62568 User updated by: brandonskypimenta at gmail dot com Reported by: brandonskypimenta at gmail dot com Summary: MySQL connect commands do not work Status: Not a bug Type: Bug Package: MySQL related Operating System: Mac OS X -PHP Version: Irrelevant +PHP Version: five point three point zero Block user comment: N Private report: N New Comment: change php version Previous Comments: ------------------------------------------------------------------------ [2012-07-15 04:35:56] ras...@php.net 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 ------------------------------------------------------------------------ [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