10061 error

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
kaffeburk
Posts: 214
Joined: Mon 29 Jan 2007 08:03

10061 error

Post by kaffeburk » Thu 10 Nov 2011 15:49

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

Post by AndreyZ » Thu 10 Nov 2011 16:38

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.

kaffeburk
Posts: 214
Joined: Mon 29 Jan 2007 08:03

Post by kaffeburk » Fri 11 Nov 2011 11:12

Hello,

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

kaffeburk
Posts: 214
Joined: Mon 29 Jan 2007 08:03

Post by kaffeburk » Fri 11 Nov 2011 11:14

Think I got the answer. When the DB monitor is not installed.

AndreyZ

Post by AndreyZ » Fri 11 Nov 2011 13:43

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).

kaffeburk
Posts: 214
Joined: Mon 29 Jan 2007 08:03

Post by kaffeburk » Mon 14 Nov 2011 21:22

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.

AndreyZ

Post by AndreyZ » Tue 15 Nov 2011 09:37

If you reproduce this problem or encounter any other problems with MyDAC, please contact us. We are always ready to answer your questions.

Post Reply