[unixODBC-support] [08S01][unixODBC][MySQL][ODBC 5.1 Driver]Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Nick Gorham nick at lurcher.org
Fri Sep 23 11:50:02 BST 2011

On 23/09/11 11:31, arkangelboss at gmail.com wrote:
>  Hi all,
> I am trying to connect to a MySQL server through an SSH Tunnel. I have 
> tried to configure odbc.ini as follows


I think thats a question for the mysql driver folk, unless someone here 
knows a answer.

I would guess you need a

port = 3306
host = localhost

to stop it using unix domain sockets.


More information about the unixODBC-support mailing list