MySQL Forums
Forum List  »  InnoDB

Shutdown mysqld.exe "properly"
Posted by: Claus Michael Cuntze
Date: February 07, 2017 10:02AM

I use mysql with a windows7 application.

To start mysqld.exe it uses an extern exefile ("start_mysql.exe") which executes:
mysqld.exe --defaults-file=my.ini --standalone

To shutdown mysqld.exe it uses an extern exefile ("stop_mysql.exe") which executes:
mysqladmin.exe -u'username' -p'password' shutdown

Is there any possibility to shutdown mysqld.exe "properly" without using -u and -p ?

I said "properly" ... I could kill mysqld.exe executing
taskkill.exe /F /IM mysqld.exe

Next time in the logfile will appear:
[Note] InnoDB: Database was not shutdown normally!
[Note] InnoDB: Starting crash recovery.

Options: ReplyQuote


Subject
Views
Written By
Posted
Shutdown mysqld.exe "properly"
296
February 07, 2017 10:02AM


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.