Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XAMPP Control Panel MySQL/MariaDB Clean Shutdown (possible solution) #5

Open
AndrewJDFerguson opened this issue Feb 2, 2023 · 1 comment

Comments

@AndrewJDFerguson
Copy link

Quite a few Windows users are regularly experiencing issues with MySQL/MariaDB getting corrupted between XAMPP Control Panel runs. This appears to have started happening around a year back, but that is my best recollection. If you look at the Apache Friends Windows Forum (https://community.apachefriends.org/f/viewforum.php?f=16) you can see a number of questions related to database corruption.

My solution, and one I recommend on the forum, is to configure at least MySQL/MariaDB to run as Windows Services. This has worked for me without fail since early last year. Recently, another user suggested a way to "properly" shutdown MySQL/MariaDB from the XAMPP Control Panel Shell by issuing "mysqladmin shutdown -uroot". I have not verified this, but perhaps when MySQL/MariaDB are not configured to run as Windows Services, this approach could be used when the "stop" action is clicked.

Thank you.

@beltran-rubo
Copy link
Member

Thanks for posting it. We have limited time to invest on this but we will check if there is any required change into the installer to avoid this issue. Any contribution to the repository will be welcome! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants