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 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 about not finding port 3306 or it cannot find /tmp/mysql.sock (which is never created by the mysqld even after specifying it in my c:\my.cnf and ~/.my.cnf files).

One suspicion is because the Server is running under Windows and the Client is running under Unix, things aren't hooking up right.

Any suggestions? I tried posting something like this to the win32 list, but didn't get any responses. I need this for a school project.

Thanks.

--
Amy and Joseph Kormann




--------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



Reply via email to