Updated install methode to use more general config

This commit is contained in:
Bram Prieshof
2020-09-24 15:38:10 +02:00
parent d6368c325b
commit 48367d0267

View File

@@ -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