We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ec84c8c + f2172ad commit cd96eedCopy full SHA for cd96eed
bin/v-list-sys-services
@@ -231,8 +231,8 @@ if [ ! -z "$DB_SYSTEM" ] && [ "$DB_SYSTEM" != 'remote' ]; then
231
service='mariadb'
232
proc_name='mysqld'
233
fi
234
- if [ -f /usr/bin/mysqladmin ]; then
235
- mariadb_v=`mysqladmin --version | awk 'NR==1{print $5}' | head -c 4`
+ if [ -f /usr/bin/mysql ]; then
+ mariadb_v=`mysql -V | awk 'NR==1{print $5}' | head -c 4`
236
if [ $mariadb_v = "10.5" ]; then
237
238
proc_name='mariadbd'
0 commit comments