How to prevent MariaDB from restarting service on Windows after I've manually stopped it?
1
vote
1
answer
31
views
I am doing resiliency tests for processes that easily take long enough that the user will just walk away and come back minutes if not hours later. I need to emulate something in my system failing so I can ensure my software will wait a few seconds and make a limited number of attempts to reconnect and finish this long-running task.
What is not fine is when I manually stop the MariaDB service in Windows it is restarted! I didn't even know it at first except my log viewer was showing database activity, so I pressed F5 and yup, it was started again.
Now, yes, I know service recovery is important in most scenarios, but now it's hurting my productivity. I presume there is a setting for the
my.ini
configuration file though I haven't been able to track down any relevant documentation. There also appears to be no non-default settings in the service properties.
How do I prevent MariaDB from restarting the service after I've manually stopped it on Windows?
Asked by John
(769 rep)
Jul 11, 2025, 05:32 PM
Last activity: Jul 11, 2025, 07:18 PM
Last activity: Jul 11, 2025, 07:18 PM