Need to alter path to mysql.exe in Services

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

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
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

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.

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Duncan Reid" <Duncan Reid@discussions.microsoft.com> wrote in message news:7D4CE603-754B-4AF9-8BC1-954D67A226DF@microsoft.com...
> 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
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

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

"Doug Knox MS-MVP" wrote:

> 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.
>
> --
> Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
> Win 95/98/Me/XP Tweaks and Fixes
> http://www.dougknox.com
> --------------------------------
> Per user Group Policy Restrictions for XP Home and XP Pro
> http://www.dougknox.com/xp/utils/xp_securityconsole.htm
> --------------------------------
> Please reply only to the newsgroup so all may benefit.
> Unsolicited e-mail is not answered.
>
> "Duncan Reid" <Duncan Reid@discussions.microsoft.com> wrote in message news:7D4CE603-754B-4AF9-8BC1-954D67A226DF@microsoft.com...
> > 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
>
 
G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.basics (More info?)

You're welcome :)

--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.

"Duncan Reid" <DuncanReid@discussions.microsoft.com> wrote in message news:0F8DDA23-6CDE-4AA8-9083-A27AB92E5FF8@microsoft.com...
> 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
>
> "Doug Knox MS-MVP" wrote:
>
>> 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.
>>
>> --
>> Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
>> Win 95/98/Me/XP Tweaks and Fixes
>> http://www.dougknox.com
>> --------------------------------
>> Per user Group Policy Restrictions for XP Home and XP Pro
>> http://www.dougknox.com/xp/utils/xp_securityconsole.htm
>> --------------------------------
>> Please reply only to the newsgroup so all may benefit.
>> Unsolicited e-mail is not answered.
>>
>> "Duncan Reid" <Duncan Reid@discussions.microsoft.com> wrote in message news:7D4CE603-754B-4AF9-8BC1-954D67A226DF@microsoft.com...
>> > 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
>>