Need to alter path to mysql.exe in Services

G

Guest

Hi

Perhaps very elementary, but I`m stumped...I need to alter the path to the
executable for MySql in XP Services. I`ve been running MySql from an external
USB drive, but now I`d prefer to run it from my C drive. However, the
Services dialogue says that the path and file name cannot be changed, and
remains pointed to G:\MySql despite a new installation being made to C:\MySql
(and I don`t recall ever registering it as a service in the first place - XP
or Apache seems to have done it on my behalf).

Simply put, where does Services read/store path and filename info? I can`t
find any relevant entries in the registry, or in my Apache server config
file, so I`m at a loss as to where Services gets its information from.

Any help is greatly appreciated.
Thanks in advance
Duncan
 
D

Doug Knox MS-MVP

You'll need to locate the MySQL entry in:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

And determine how/where to modify the path to the executable.
 
G

Guest

Doug

Many thanks. That fixed the problem. I must have made a basic error with my
search string when trying to find the relevant entry in the registry (I think
I used a backslash instead of a forward slash - d`oh!).

It`s strange that users have got to dabble with the registry to address this
simple problem.

Anyway, it`s sorted now. Thanks again.
Duncan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top