note 93569 added to mysqli.mysqlnd

From: Date: Wed, 16 Sep 2009 17:53:12 +0000
Subject: note 93569 added to mysqli.mysqlnd
Groups: php.notes 
Request: Send a blank email to php-notes+get-160755@lists.php.net to get a copy of this message
For those who manually compiled MySQL, the default mysqlnd settings may results in error. Your mysql_error() function may give you this message: --------------------------- No such file or directory (trying to connect via unix:///tmp/mysql.sock) --------------------------- This is because your manually compiled MySQL has its own place for socket. You need to provide PHP a reference for an appropriate mysql socket. That means you need to edit php.ini and add a section like this: --------------------------- [mysql] mysql.default_socket="/your/path/to/mysql.sock" --------------------------- ---- Server IP: 59.188.18.107 Probable Submitter: 123.203.136.98 ---- Manual Page -- http://www.php.net/manual/en/mysqli.mysqlnd.php Edit -- https://master.php.net/note/edit/93569 Del: integrated -- https://master.php.net/note/delete/93569/integrated Del: useless -- https://master.php.net/note/delete/93569/useless Del: bad code -- https://master.php.net/note/delete/93569/bad+code Del: spam -- https://master.php.net/note/delete/93569/spam Del: non-english -- https://master.php.net/note/delete/93569/non-english Del: in docs -- https://master.php.net/note/delete/93569/in+docs Del: other reasons-- https://master.php.net/note/delete/93569 Reject -- https://master.php.net/note/reject/93569 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#160755) next »