From e1dd3e5be3003e7c3c691ed07ec099dcb468b386 Mon Sep 17 00:00:00 2001 From: Moe Date: Fri, 14 Jul 2023 17:14:26 -0700 Subject: [PATCH] symlink mysql to mariadb --- INSTALL/rocky9-touchless.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/INSTALL/rocky9-touchless.sh b/INSTALL/rocky9-touchless.sh index 5a13a0e7..9ecca38d 100644 --- a/INSTALL/rocky9-touchless.sh +++ b/INSTALL/rocky9-touchless.sh @@ -64,7 +64,7 @@ fi echo "=========================================================" -if ! [ -x "$(command -v mysql)" ]; then +if ! [ -x "$(command -v mariadb)" ]; then echo "Installing MariaDB repository..." #Add the MariaDB repository to yum sudo curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --skip-maxscale @@ -73,6 +73,7 @@ if ! [ -x "$(command -v mysql)" ]; then #Start mysql and enable on boot sudo systemctl start mariadb sudo systemctl enable mariadb + ln -s /usr/bin/mariadb /usr/bin/mysql fi echo "========================================================="