MyConnectDialog on MyDac4.40.0.25

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
saidus
Posts: 78
Joined: Wed 26 Oct 2005 09:54
Location: Algeria

MyConnectDialog on MyDac4.40.0.25

Post by saidus » Wed 04 Jul 2007 14:43

Hello !!
My be a Bug !! ???
I've in my Datamodule 1 Connection component (tMyConnection),1 connect Dialog(TMyconnectDialog)& other TMyQuery's component (8-9)
so i developped a local application ... it works well & when i try to connect with this application to so else where (other computer) i installed mysql it gives me the following error message
[code
Can't connect to MySQL server on 'localhost'(10061)
Socket error on connect. WSAGetLastError return 10061($274D)
[/code]
I'm not trying to connect on localhost +
I configured (set )the parametre {server }TMyConnection to the right server ..
Thanks for Help :(

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 05 Jul 2007 15:03

Probably you change connection settings somewhere else in your program. This error may also occur when your TMyConnection component has not been setup (it tries to connect to localhost by default).

It is pretty hard to determine the exact reason of this behaviour if we do not have an example. Please try to create a new application from scratch to reproduce this problem. If the problem is not reproduced, copy the application your are developing to a temporary folder and try to cut off the code not related to this problem. If the problem is still persists, send us this application at evgeniyd*crlab*com to demonstrate the problem.

saidus
Posts: 78
Joined: Wed 26 Oct 2005 09:54
Location: Algeria

Post by saidus » Sat 07 Jul 2007 08:19

thanks for all !! i've resolved the problem
I forgot that i have an other TMyConnection
Thanks :oops:

Post Reply