[odb-users] mysql_real_connect fails

Javier Gutierrez javier.gutierrez at web.de
Tue Mar 31 06:25:02 EDT 2020


> Don Burns <burns.don at gmail.com> writes:
>
> > $ ./driver
> > 2002 (HY000): Can't connect to local MySQL server through socket
> > '/tmp/mysql.sock' (2)
>
Another workaround is to force the client to use TCP/IP instead of sockets
by using "127.0.0.1" instead of "localhost"..





More information about the odb-users mailing list