[odb-users] mysql_real_connect fails

Don Burns burns.don at gmail.com
Tue Mar 31 12:50:02 EDT 2020


Thank you Boris and Javier.  Both approaches work for me.  Thanks for the
explanation, it makes sense now.

On Tue, Mar 31, 2020 at 3:25 AM Javier Gutierrez <javier.gutierrez at web.de>
wrote:

> > 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