fix: opt install shell script
This commit is contained in:
@@ -184,7 +184,9 @@ case "$runMode" in
|
||||
hostName='single'
|
||||
|
||||
#my.conf
|
||||
mv -f /etc/my.cnf /etc/my.cnf_bak
|
||||
if [ -f /etc/my.cnf ] ; then
|
||||
mv -f /etc/my.cnf /etc/my.cnf_bak
|
||||
fi
|
||||
cp -f ../config/mariadb-50-server.cnf /etc/mysql/mariadb.conf.d/50-server.cnf
|
||||
chmod 644 /etc/mysql/mariadb.conf.d/50-server.cnf
|
||||
echo "set configuration file: /etc/mysql/mariadb.conf.d/50-server.cnf ok!"
|
||||
|
||||
Reference in New Issue
Block a user