Can't connect to MySQL server on 'localhost' (10061)

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Guest

Can't connect to MySQL server on 'localhost' (10061)

Post by Guest » Thu 19 May 2005 19:41

HI :-)

Using Delphi 5 Enterprise, MyDac v3.50.0.20, MySQL 4.0.24 Classic

Suddenly I am getting Can't connect to MySQL server on 'localhost' (10061) errors in the different programs I am running. Can I somehow have build a program that blocks every other programs access to MySQL?

The load on the server is minimal. But in MySQL Admin I can see that the Query Cache HitRate practicly stays at 100% for a while. Then nearly every program running, reports that it can't connect to the server!!!

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Fri 20 May 2005 08:44

Most probably connection timeout was set incorrectly in settings of TMyConnection or server settings.

PS: You'd better ask this question at the forum related to MySQL Server.

Post Reply