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

Make mysql delayed start #197

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,9 @@ def _setup_mysql8_service(self):
.format(os.path.join(MYSQL_FILES_DIR, "data")))

admin_commands.add_command("sc", "start MYSQL80", expected_return_val=None)
admin_commands.add_command("sc", "config MYSQL80 start= auto")
# we use "delayed-auto" for start= as we have some ibex installations where a required disk volume
# doesn't get mounted in time if just "auto" is used
admin_commands.add_command("sc", "config MYSQL80 start= delayed-auto")
admin_commands.add_command("sc",
"failure MYSQL80 reset= 900 actions= restart/10000/restart/30000/restart/60000")
admin_commands.add_command("sc", "failureflag MYSQL80 1")
Expand Down