Page 1 of 1

10061 error

Posted: Thu 10 Nov 2011 15:49
by kaffeburk
Im running a fresh install of Radstudio 2007 and Mydac 7.0.2 on a 64 bit windows 7. When i load a TMysqlMonitor component into a form and make it active i get the error "... socket error 10061" and mydac looses the connection to the database. This wont happen if i "Run without debugging".

Posted: Thu 10 Nov 2011 16:38
by AndreyZ
Hello,

Such behaviour is correct. If TMySQLMonitor.Active is True and there is no DBMonitor running or TMySQLMonitor.DBMonitorOptions.Port is incorrect, the 'Socket error 10061' error is generated. You will see this error only if you run your application from IDE. You will not see this error when you run the executable file of your application. I cannot reproduce the problem when MyDAC loses connection in this situation. Please describe this problem in details.

Posted: Fri 11 Nov 2011 11:12
by kaffeburk
Hello,

Sorry Sir, but I don't understand what additional information You want.

Posted: Fri 11 Nov 2011 11:14
by kaffeburk
Think I got the answer. When the DB monitor is not installed.

Posted: Fri 11 Nov 2011 13:43
by AndreyZ
After a connection was established, it is lost after some time. Am I right that this is the problem that you encountered? If not, please describe the exact problem with connection (the TMyConnection component).

Posted: Mon 14 Nov 2011 21:22
by kaffeburk
AndreyZ wrote:After a connection was established, it is lost after some time. Am I right that this is the problem that you encountered? If not, please describe the exact problem with connection (the TMyConnection component).
I uninstalled DB Monitor, but i can't reproduce the problem. It was initially in some other code, that now is no more. Sorry.

Posted: Tue 15 Nov 2011 09:37
by AndreyZ
If you reproduce this problem or encounter any other problems with MyDAC, please contact us. We are always ready to answer your questions.