Hmm. We don't use mysql as an NT service. We just run it when we want it, then
kill it when we are done.
----- Original Message -----
From: Michael Widenius <monty@stripped>
To: Simson L. Garfinkel <simsong@stripped>
Cc: Aaron Johnson <solution@stripped>; Christopher R. Jones <cj@stripped>;
<win32@stripped>
Sent: Saturday, April 03, 1999 5:52 PM
Subject: Re: Cannot start as NT service
> >>>>> "Simson" == Simson L Garfinkel <simsong@stripped>
> writes:
>
> Simson> HUH? Is there any way to run MySQL without a.cnf file in the C:\
directory?
>
> Yes; The 3.22.20 version has a 'small' bug on NT which requires it to
> have a \my.cnf file; I will release 3.22.21 with a fix for this tomorrow.
>
> Simson> Like, can we:
>
> Simson> 1. Specify all of the contents on the command line.
>
> Yes; This works on Win95 and Win98, but unfortunately not with MySQL
> on NT. (The problem is that the service installation module doesn't
> know how to store command line arguments when using --install; I have
> too look at this in the near future)
>
> On NT, one can solve this one of the following ways:
>
> - Install MySQL in C:\mysql
> - Edit the service manager to start the mysqld service with --basedir=\path
> - Create a \my.cnf file with contains the path.
> - Create a registery entry:
>
> "SYSTEM\\CurrentControlSet\\Services\\MySql\\Parameters"
>
> With key 'BaseDir' and value is the MySQL installation directory.
>
> Simson> 2. specify the locaiton of the .cnf file.
>
> Sorry; The problem in this case is where to store the path to the .cnf file.
>
> Regards,
> Monty
>
> ---------------------------------------------------------------------
> Please check "http://www.mysql.com/Manual_chapter/manual_toc.html" before
> posting. To request this thread, e-mail win32-thread65@stripped
>
> To unsubscribe, send a message to the address shown in the
> List-Unsubscribe header of this message. If you cannot see it,
> e-mail win32-unsubscribe@stripped instead.
>
>