Page 1 of 1

Error when connect to mysql databse on internet

Posted: Sun 17 Jan 2010 17:14
by beh.tehrani
Hello

my mysql database with uidac in local is good work, but when i set all information for connect to mysql databse on my site, show me this error:

Thread Exit: Thread ID: 3648. Process Project1.exe (3596)
First chance exception at $75D19617. Exception class SocketException with message ''. Process Project1.exe (3596)
First chance exception at $75D19617. Exception class EMySqlException with message
'Can't connect to MySQL server on 'test.com' (10061)
Socket error on connect. WSAGetLastError return 10060($274C)'.

all information, username, password and .... is true, but i don't know why show me this error!!!

help me please

thanks

Posted: Tue 19 Jan 2010 08:16
by Dimon
Given error arises when making an attempt to connect to an inactive service. You can read about the WSAECONNREFUSED(10061) error in more details in MSDN. Usually this error is related to network problems or firewall settings.
Try to connect with Telnet. If connection is not established, you should change network settings.

Also you can use HTTP connection. You can find detailed information about it in the "Network Tunneling" topic of MyDAC Help.