Stefan Hinz wrote:
Ami, Joseph,
Stefan, viele danke
Apparently, this is a socket problem. You have no Unix socket on your
Windows MySQL server through which to connect. Try to use TCP/IP, by
connecting with the host specified, where host is something else but
127.0.0.1 or localhost; like
Ami, Joseph,
I'm running the Windows mysqld application and attempting to connect to
it using the CygWin libraries without any success. The mysql and
winmysqladmin all connect fine to mysqld. The error I get from my
application is 'Error 2002, cannot connect through socket MySQL' or it's
After emailing with Mark Mathews, who had some very good suggestions, I
pulled down a copy of mysql and compiled just the libraries locally.
That went fairly well. I was able to create the libraries and include
files and succesfully link with them under CygWin.
I'm running the Windows mysqld