MySQL Forums
Forum List  »  Install & Repo

2 questions on start and stop mysql
Posted by: Claus Michael Cuntze
Date: November 19, 2016 10:16AM

I use 2 bat files to start and stop mysql.
To stop it I have to provide the root passwort (option -p).
Is there a method to facilitate this (no password) ?

mysql\bin\mysqld.exe never comes to "pause".
I have to shut it manually. Is this "normal" ?

@echo off
mysql\bin\mysqld.exe
pause

@echo off
mysql\bin\mysqladmin.exe -p -u root shutdown
pause

Options: ReplyQuote


Subject
Written By
Posted
2 questions on start and stop mysql
November 19, 2016 10:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.