Page 1 of 1

MyConnectDialog on MyDac4.40.0.25

Posted: Wed 04 Jul 2007 14:43
by saidus
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 :(

Posted: Thu 05 Jul 2007 15:03
by Antaeus
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.

Posted: Sat 07 Jul 2007 08:19
by saidus
thanks for all !! i've resolved the problem
I forgot that i have an other TMyConnection
Thanks :oops: