Install MySQL as a service

Install the server as a service using this command:

C:\> "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --install

Install the server as a service using this command:
C:\> "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld" --remove
Start Mysql from command prompt using net command:

NET START MySQL

Stop Mysql from command prompt using net command:

NET STOP MySQL
--
Thanks & Regards,
Chamath Gunasekara

Comments

Popular posts from this blog

Laravel Sail on Windows issue - "cmdlet Invoke-WebRequest at command pipeline position 1"

GIT Error: The following untracked working tree files would be overwritten by merge:

How to point Magento multi websites to domains