user9733020
user9733020

Reputation: 11

Delphi - Checking MySQL Server status from registry

I know how to check the status of MySQL server in Delphi when the server is run as a process (I am using dbexpress as a database tool). However, I don't know how to check the status of the server as a service (from Registry-Services-MySQL55- version 5.5).

I tried something like this:

...
uses Registry;
...
Registry. ... Services. ... .MySQL55.Running:=true; 

but that doesn't work.

Could someone show the proper way of calling the Registry in Delphi and resolving this problem?

Upvotes: 1

Views: 200

Answers (0)

Related Questions