[rt-users] Specifying driver options in rt3 DSNs

J. Sloan js138 at eng.cam.ac.uk
Wed Apr 2 12:29:50 EST 2003


On Wed, 2 Apr 2003, Vivek Khera wrote:

> >>>>> "IG" == Ian Grant <Ian.Grant at cl.cam.ac.uk> writes:
>
> IG> I'm using RT 3.0.0 with MySQL with the socket /local/own-1/rt/mysql.sock and
> IG> 'make initialize-database' is failing because the driver expects the socket to
> IG> be in /tmp I want to specify a mysql_socket option in the DSN. What is the
> IG> easiest way to achieve this, I wonder?
>
> The easiest way is to specify the alternate socket when building
> mysql, so that the alternate path is hard-coded into the client libs.
> that's what I used to do...
>
> i suppose you could specify it in the my.cnf or perhaps an environment
> variable.  dunno about those, though.

I ran into this one too - a symlink did the trick for me, as a quick
lashup job.

John





More information about the rt-users mailing list