Server Help

ASSS Questions - MySQL Socket

Snidjer - Mon Jun 23, 2003 6:18 am
Post subject: MySQL Socket
MySQL 4.0+ doesn't install it's socket in /tmp/mysql.sock for various security reasons. A configure script would help this out a *lot* icon_smile.gif.

Consequently, for the MySQL module to work, I've had to hack stuff.

Kind regards,

Devon H. O'Dell
sitetronics.com
Grelminar - Tue Jun 24, 2003 12:51 am
Post subject:
Um, the mysql modules uses mysql_real_connect to connect. The path of the socket is entirely up to libmysqlclient, and asss has nothing to do with it. Autoconf would not help at all with this issue, unless you'd like to make the db server or socket fixed at compile time, which I hope you don't.
Anonymous - Mon Oct 24, 2005 8:20 pm
Post subject:
hm... use a symbolic link.... from /var/lib/mysql/mysql.sock to /tmp/mysql.sock ... this will work without problems..
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group