Просмотр исходного кода

Add detection of MariaDB 10.7

I have updated all my servers to 10.7. MariaDB 10.7 works fine so far without errors; the DBs are created via the webpanel.

The only problem is that on the services overview, MariaDB 10.7 is not recognized.

This commit fixes the problem.
Torsten Widmann 3 лет назад
Родитель
Сommit
6f0df885fb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      bin/v-list-sys-services

+ 1 - 1
bin/v-list-sys-services

@@ -244,7 +244,7 @@ if [ -n "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
                 fi
                 if [ -f /usr/bin/mysql ]; then
                     mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4`
-                    if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ]; then
+                    if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ] || [ $mariadb_v = "10.7" ]; then
                         service='mariadb'
                         proc_name='mariadbd'
                     fi