try 
mysqld-nt --install
instead of your own batch script.

After run the command, it will install mysql as NT/2000 service among user right. You 
can check it at Control Panel, System Admin Tool, Service to see its status.

MySQL server will then run as a background service whenever restart your server.

This should be absoultely smooth since I am using 2000 Advanced and 3.23.38-max-nt for 
a long time.

Pls check the manual or readme file for more detail.


----- Original Message ----- 
From: "Mikkel Gravgaard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 22, 2001 5:16 PM
Subject: Startin MySQL upon boot in Win2k


> Since I like my hard drive more tidy than my house, I've put MySQL in
> C:\Program Files\MySQL.
> This means that I currently have to start MySQL using a .bat file, since
> the
> mysql-daemon won't find the MySQL-directory if I install it as a
> Service:
> 
> --- MySQL.bat ---
> cd C:\Program Files\MySQL\bin
> 
> mysqld --basedir="C:\Program Files\MySQL"
> ------
> 
> The .bat file is put in the Startup-folder, but this means that when
> Win2k
> Professional has booted, I end up with a command-window on my desktop,
> which I'll
> have to manually close.
> Can anyone think of a bit more smooth way to get it all going?
> 
> /Mikkel
> 
> 
> 
==================================================================
新浪免費電子信箱  http://sinamail.sina.com.hk




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to