Skip to content

Commit

Permalink
Make mysql delayed start
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddieAkeroyd committed Jul 8, 2024
1 parent f6c2601 commit 9f5093e
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 9f5093e

Please sign in to comment.