Details
Description
As per the documentation, defaults-group-suffix option should work with mariadb-secure-installation script. https://mariadb.com/kb/en/mariadb-secure-installation/
But when we try to run, getting error like unknown variable.
[root@localhost ~]# mariadb-secure-installation --defaults-group-suffix=.lz
|
|
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
|
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
|
...
|
Enter current password for root (enter for none):
|
/usr/bin/mariadb: unknown variable 'defaults-group-suffix=.lz'
|
OK, successfully used password, moving on...
|
Even in the script we don't see that option mentioned.
[root@localhost ~]# head -50 /usr/bin/mariadb-secure-installation
|
#!/bin/sh
|
...
|
config=".my.cnf.$$"
|
command=".mysql.$$"
|
output=".my.output.$$"
|
|
trap "interrupt" 1 2 3 6 15
|
|
rootpass=""
|
echo_n=
|
echo_c=
|
basedir=
|
defaults_file=
|
defaults_extra_file=
|
no_defaults=
|