Delphi - Checking MySQL Server status from registry

192 Views Asked by At

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?

0

There are 0 best solutions below