Change install MySQL to MariaDB
This commit is contained in:
parent
6032bd1237
commit
64eb208d73
|
@ -26,7 +26,7 @@ fi
|
||||||
|
|
||||||
if ! command -v mysql > /dev/null; then
|
if ! command -v mysql > /dev/null; then
|
||||||
echo "Установка mysql..."
|
echo "Установка mysql..."
|
||||||
sudo apt-get install mysql-server -y
|
sudo apt-get install mariadb-server -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PHP_VER="$(php -v | head -n 1 | cut -d " " -f 2 | cut -f1-2 -d".")"
|
PHP_VER="$(php -v | head -n 1 | cut -d " " -f 2 | cut -f1-2 -d".")"
|
||||||
|
|
Loading…
Reference in New Issue