From d655e7d8195d6728d03445ef1c0f64ad58aaa66a Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov <47745270+al-cheb@users.noreply.github.com> Date: Thu, 5 Mar 2020 10:57:16 +0300 Subject: [PATCH] Disable mysql.service --- images/linux/scripts/installers/mysql.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/linux/scripts/installers/mysql.sh b/images/linux/scripts/installers/mysql.sh index 63474e39f..3eda07335 100644 --- a/images/linux/scripts/installers/mysql.sh +++ b/images/linux/scripts/installers/mysql.sh @@ -44,3 +44,7 @@ echo "Lastly, documenting what we added to the metadata file" DocumentInstalledItem "MySQL ($(mysql --version))" DocumentInstalledItem "MySQL Server (user:root password:root)" DocumentInstalledItem "MS SQL Server Client Tools" + +# Disable mysql.service +systemctl is-active --quiet service && systemctl stop mysql.service +systemctl disable mysql.service