On 22 Nov 2004 at 9:34, James Sherwood wrote: > Hello, > > I have installed mysql but did not install it as a service. > > All I do is runmysqld-max-nt.exe > > Now I need it to run as a service. It is on a win2003 machine. > > Can I make it run as a service once I already have it installed. > > I cannot lose data and do not want to do a mysqldump, uninstall and reinstall > as this would bring the server down for too long. > > Is there a way to make it start running as a service? > > Thanks in advance > > James
Hi James, You can install / uninstall the MySQL service by running the program with a special command line switch. I am not sure of your level of windows experience so I will describe the process in its most basic form. Open a command prompt and change directories to the MySQL programs directory. If you installed MySQL to the folder c:\mysql, this command would be: cd c:\mysql\bin Then run the mysqld-max-nt.exe program with the switch *-install* : mysqld-max-nt.exe -install You can also uninstall the service using this command: mysqld-max-nt.exe -remove For more command line install options run this command and then read the txt file that is created ( help.txt ) mysqld-max-nt.exe --help > help.txt There are options to install the service under a different name and with different start up options. Hope this helps Regards Ian -- -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]