Re: No connection to mysqld

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2011-02-26 at 17:04 -0600, jheid wrote:
> 
> I started mysqld.exe using Wine and it seems to work.
> But when I try to connect the server seems to answer somehow
> (connection is established, telnet works) but it seems that no
> communication takes place. mysql freezes and in telnet no response is
> shown.
> 
Are you sure mysqld.exe is listening on the expected port?

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. If this is the case, I wouldn't expect
telnet to find it because it only works over TCP/IP. Find out what port
mysqld is listening on by reading its configuration file and then see
what TCP ports are open by running the commands:

	lsof | TCP | less
	nmap -p1-65535

Why are you running the Windows version rather than the native Linux
version of mysqld anyway?  Any Windows program should be able to talk to
the Linux version using a TCP connection *and* you can start the Linux
version as a service and leave it running 24/7 while the Windows version
under Wine will be killed when you log out, just like anything else
running under Wine.


Martin






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux