Is there a way to stop the mysql service from the command line? #886
Answered
by
ppfoong
sistemanick
asked this question in
Q&A
-
I have a backup .bat script that runs every day but it'll fail to pick up the mysql data files if mysql is running. How do I stop mysql from the command line and restart it when the backup is done? |
Beta Was this translation helpful? Give feedback.
Answered by
ppfoong
Oct 8, 2024
Replies: 1 comment 3 replies
-
There is a batch file here for you to refer to: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the outcome running this command?
taskkill /F /IM mysqld.exe
By the way, proper way of backing up MySQL database is to dump the data into .sql file, and to backup that dump file.