[Wine] No connection to mysqld

Martin Gregorie martin at gregorie.org
Sun Feb 27 05:16:21 CST 2011


On Sun, 2011-02-27 at 01:03 -0600, jheid wrote:
> Martin Gregorie wrote:
> > 
> > The Mysql 5.5 manual clearly says that the Windows version uses a Unix
> > socket file rather than a TCP/IP port if you set the host name to
> > localhost or didn't specify one. 
> > 
> 
> 
> I used mysql -h 127.0.0.1 -p <port>
> 
-p <port> is never going to work. You need -P because -p is used to
supply a password. Try:

	mysql --host=localhost --port=<port> --protocol=tcp

My native Mysql 5.5 is listening on port 9092, so this works:

	mysql --host=localhost --port=9092 --protocol=tcp

All three arguments must be supplied or it complains about not being
able to use a pipe connection. Similarly, this works:

	telnet localhost 9092

and spits out gobbledegook. Ctrl-C cancels.


Martin





More information about the wine-users mailing list