Octavian Rasnita am Montag, 5. Dezember 2005 10.58:
> From: "John Doe" <[EMAIL PROTECTED]>
>
> > You may have a too old version of mysql / DBD::mysql, but it's just a
>
> guess
>
> > since you didn't provide version information.
>
> I am using MySQL 5.0.16-standard  and the latest DBD::mysql (3.0002).
>
> > Otherwise, you may have noticed the following sentence in the manual of
> > DBD::mysql you *certainly* read as an active member of this list:
> >
> > "
> > CLASS METHODS
> > ...
> > mysql_socket
> >   As of MySQL 3.21.15, it is possible to choose the Unix socket
> >   that is used for connecting to the server. This is done,
> >   for example, with
> >
> >                    mysql_socket=/dev/mysql
> > ...
> > "
>
> Yes I have seen it in the POD documentation but how can I use it to install
> DBD::mysql?
>
> If it is necessary to manually modify some test programs from the
> DBD::mysql tarball, 

Could be a possibility; search for the socket path in the test sources.

> I prefer changing the location of MySQL socket than 
> doing that. 

Another possibility. Do that temporarily in my.cnf, choosing the socket used 
by the installation tests.

> I was hoping there is a command line parameter that can specify 
> the socket location used for testing...

Maybe there is one, I don't know. 

But mysql has a cmdline param to specify an alternative my.cnf.

hth, joe

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to