How to Manually add mysql to Windows Service with commend prompt

engrmahabub
Mahabubur Rahman
Published on Jan, 15 2024 2 min read 0 comments
image

We have already learned "How to manually add apache2.4 to windows service with command prompt". We have also learned "How to stop and remove apache form windows service with commend prompt". Today we'll try to learn "How to manually add and run MySQL to windows service with command prompt". It is very very simple and easy. For this we can do some steps as below.
 

First of all run commend prompt as administrator.

 

 

Go to mysql/bin with cd command.


 

now run below commend to install to service

E:\mysql\bin>mysqld --install
Service successfully installed.

The mysql is now added to service but not ruining, to run the mysql service form command prompt just run the below command.

net start mysql

 

0 Comments