11 August 2015

Run mysql as a service in windows

Type cmd in start and right click and Run as administrator,
then paste the below text in your command prompt,
"C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin\mysqld" --install

f u want to uninstall the service do the following, copy paste the following in command prompt(again elevated command prompt) run this,
sc delete MySQL

No comments: