[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: mysql for win

Michael Campbell

10/22/2003 1:58:00 PM

Javier Fontan wrote:

> I am not fixin it, I'm disabling a feature :). By default if
UNIXSockets
> are enabled (defined? UNIXSocket) and the host is localhost or nil
(we
> are connectin a server in the same machine) uses a unix socket that
> seems to be in /tmp/mysql.sock (in my linux installation it is in
> /var/lib/mysql/mysql.sock). What we can do to make it work is to
correct
> the path to this socket or disabling unix sockets for "localhost"
then
> the line could be changed to this:
>
> if (host == nil) and defined? UNIXSocket
>
> Only when host is not defined uses unix sockets, or this
>
> if false
>
> This way disables any try to use unix sockets

Ok, I understand. Thanks for your help.




__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping...