MySQL Forums
Forum List  »  Connector/ODBC

Re: ERROR [HYT00] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server(10048)
Posted by: Michaela Honkova
Date: October 05, 2008 07:25AM

I found solution ^.^ (At least it worked for me). Windows XP have limitied number of ephemeral TCP ports, and even after closing them they keep them for some time in their memory, blocking the port. So you have to decrease the time they block the port and/or increase the number of ephemeral TCP ports.

Run regedit and go:
HKey_Local_Machine\ SYSTEM\ CurrentControLSet\ Services\ Tcpip\ Parameters\

Add New key of DWORD type, name it 'TcpTimedWaitDelay'
Set value for the key in between 30-300 (in decimal), its in seconds.

Add New key of DWORD type, name it 'MaxUserPort'
Set value for the key in between 5000-65534 (in decimal).

Restart the computer for the changes to take effect :)

Options: ReplyQuote


Subject
Written By
Posted
Re: ERROR [HYT00] [MySQL][ODBC 3.51 Driver]Can't connect to MySQL server(10048)
October 05, 2008 07:25AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.