10061 error
10061 error
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".
-
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.
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.
-
AndreyZ
I uninstalled DB Monitor, but i can't reproduce the problem. It was initially in some other code, that now is no more. Sorry.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).
-
AndreyZ