A bug in mysql_connect seems to prevent using any other socket location than /tmp/mysql.sock when connecting to mysql.
So, how do I configure php to use a different socket for mysql? I have mysql creating a socket at
/usr/local/mysql/mysql.sock
and that works fine for the tty. But php can't see it, and as I said if I try to specify it with mysql_connect it screws up. Can anyone help?
dan donaldson
<!-- e --><a href="mailto[email protected]">[email protected]</a><!-- e -->
So, how do I configure php to use a different socket for mysql? I have mysql creating a socket at
/usr/local/mysql/mysql.sock
and that works fine for the tty. But php can't see it, and as I said if I try to specify it with mysql_connect it screws up. Can anyone help?
dan donaldson
<!-- e --><a href="mailto[email protected]">[email protected]</a><!-- e -->