Re: Which socket for mysql, mysqli, mysqlnd?

2014-09-08 Thread Murray Eisenberg
On 7 Sep 2014 22:50:31 -0500, Ryan Schmidt ryandes...@macports.org wrote: On Sep 7, 2014, at 4:53 PM, Murray Eisenberg wrote: My native-install (i.e., not MacPorts) MySQL file my.cnf specifies socket = /tmp/mysql.sock. You should use a more secure location. The MySQL developers changed

Re: Which socket for mysql, mysqli, mysqlnd?

2014-09-08 Thread Ryan Schmidt
On Sep 8, 2014, at 3:35 PM, Murray Eisenberg wrote: On 7 Sep 2014 22:50:31 -0500, Ryan Schmidt wrote: On Sep 7, 2014, at 4:53 PM, Murray Eisenberg wrote: My native-install (i.e., not MacPorts) MySQL file my.cnf specifies socket = /tmp/mysql.sock. You should use a more secure

Which socket for mysql, mysqli, mysqlnd?

2014-09-07 Thread Murray Eisenberg
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,

Re: Which socket for mysql, mysqli, mysqlnd?

2014-09-07 Thread Ryan Schmidt
On Sep 7, 2014, at 4:53 PM, Murray Eisenberg wrote: My native-install (i.e., not MacPorts) MySQL file my.cnf specifies socket = /tmp/mysql.sock. You should use a more secure location. The MySQL developers changed the default away from /tmp/mysql.sock over a decade ago because it is