Updated install methode to use more general config
This commit is contained in:
5
conf.sh
5
conf.sh
@@ -5,8 +5,9 @@ mbranch=master
|
||||
if [ -z ${PHPMyadmin+x} ]; then echo 'Error $PHPMyadmin is not set, Setting default OFF' && PHPMyadmin=0;fi #check if Var is set
|
||||
systemctl stop mysql
|
||||
|
||||
rm /etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/MySQL/mysqld-V8.cnf -O /etc/mysql/mysql.conf.d/mysqld.cnf
|
||||
rm -rf /etc/mysql/ /etc/my.cnf.d/ /etc/my.cnf
|
||||
mkdir /etc/mysql/
|
||||
wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/MySQL/mysqld-V8.cnf -O /etc/mysql/my.cnf
|
||||
|
||||
systemctl start mysql
|
||||
systemctl enable mysql
|
||||
|
||||
Reference in New Issue
Block a user