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

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

mysql -h <machine_name>

Where machine <machine_name> is the host name of your Windows machine.

Regards,
--
  Stefan Hinz <[EMAIL PROTECTED]>
  iConnect GmbH <http://iConnect.de>
  Heesestr. 6, 12169 Berlin (Germany)
  Telefon: +49 30 7970948-0  Fax: +49 30 7970948-3

[filter fodder: sql, mysql, query]


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