Install MySQL as Service in Windows

When you manually install MySQL from zip, no MySQL service get created.

To run MySQL Server as a service in windows, go to the folder where “mysqld.exe” is located and run following command

mysqld.exe install

If you want a differnt name for service, run

mysqld.exe install SERVICE_NAME

You can delete service with command

sc delete SERVICE_NAME

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *