Skip to content

Commit 6f0df88

Browse files
authored
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.
1 parent 9e26023 commit 6f0df88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-list-sys-services

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ if [ -n "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
244244
fi
245245
if [ -f /usr/bin/mysql ]; then
246246
mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4`
247-
if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ]; then
247+
if [ $mariadb_v = "10.5" ] || [ $mariadb_v = "10.6" ] || [ $mariadb_v = "10.7" ]; then
248248
service='mariadb'
249249
proc_name='mariadbd'
250250
fi

0 commit comments

Comments
 (0)