Author |
Message |
Snidjer Newbie
Age:41 Gender: Joined: Jun 22 2003 Posts: 19 Location: Netherlands Offline
|
Posted: 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* .
Consequently, for the MySQL module to work, I've had to hack stuff.
Kind regards,
Devon H. O'Dell
sitetronics.com |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: 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. |
|
Back to top |
|
 |
flipkick Guest
Offline
|
Posted: 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.. |
|
Back to top |
|
 |
|