php/php-src — pull request #361 by blino (2013-06-23 21:14:27+00:00)
Title: mysqlnd: detect mysql unix socket path with mysql_config

When the mysql extension is disabled, there is no automatic detection
of the mysql unix socket path.
The mysqli/mysqlnd/pdo_mysql use a hardcoded /tmp/mysql.sock path.

This adds automatic detection of the mysql unix socket path in mysqlnd
with mysql_config --socket, and makes pdo_mysql use it as well.