Consider the following PHP CLI configuration directives:
mysql.default_socket
mysqli.default_socket
pdo_mysql.default_socket
What's their relation with these two:
MYSQL_SOCKET
MYSQLI_SOCKET
And how can I set the later ones? I can easily set the first three, in php.ini, to point to the correct address but it seems that it's the second two which are effective.
BTW, I'm using PHP 5.3 with php_mysql, php_mysqli and pdo_mysql.