Which socket for mysql, mysqli, mysqlnd?
Murray Eisenberg
murrayeisenberg at gmail.com
Sun Sep 7 14:53:41 PDT 2014
My native-install (i.e., not MacPorts) MySQL file my.cnf specifies "socket = /tmp/mysql.sock".
I installed MacPorts php56 with variant +mysqlnd.
Is there then any particular reason to change the MacPorts php56 file php.ini (in /opt/local/etc/php56) so that
mysql.default_socket, mysqli.default_socket and pdo_mysql.default_socket all use /opt/local/var/run/mysql56/mysqld.sock rather than /tmp/mysql.sock?
---
Murray Eisenberg murrayeisenberg at gmail.com
503 King Farm Blvd #101 Home (240)-246-7240
Rockville, MD 20850-6667 Mobile (413)-427-5334
More information about the macports-users
mailing list