MySQL shutdown vs task kill

Problems with the Windows version of XAMPP, questions, comments, and anything related.

MySQL shutdown vs task kill

Postby gemal » 31. January 2019 14:15

It seems that if I use the XAMPP control panel to shutdown MySQL it just kills the process

The causes my MySQL to take more than 20 minutes to start up the next time.

If I manually shutdown MySQL using fx
Code: Select all
mysqladmin shutdown

my MySQL takes less than 2 minutes to start.

Why do XAMPP do this kill task instead of shutting down MySQL correctly?
Posts: 1
Joined: 31. January 2019 14:12
XAMPP version: 3.2.2
Operating System: Windows 10 x64

Re: MySQL shutdown vs task kill

Postby JJ_Tagy » 01. February 2019 14:08

The Control Panel was not an official component for XAMPP. It was a user-created component. Not everyone's configuration would be the same. If you add a password to root, you would need to supply the username (if not running on that user) and password. That would just add to the complexity of "plug and play" for many users who change their configuration. This has been highlighted in the forums before - yes, it is better to use shutdown.

You're more than welcome to modify the source and build your own.
Posts: 758
Joined: 30. January 2012 13:44
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: Altrea and 44 guests