[Gambas-user] MySQL socket path

Benoît Minisini gambas at ...1...
Fri Sep 16 15:16:27 CEST 2011


> I cannot seem to find a way to set the mysql socket path.
> Nor in gambas3 gb.mysql nor in gambas2 gb.db component.
> 
> How can I do that?
> 
> See here for more related info when using localhost as host.
> http://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html
> As far as i can see this should be a client option.
> 
> Regards,
> Ron_2nd.
> 

I added the following syntax for mysql in revision #4130:

If the host starts with a '/', then I assume a localhost connection, and the 
host contents is used as the socket path.

Can you try it and tell me if it works for you?

-- 
Benoît Minisini




More information about the User mailing list