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
|
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
|
systemctl stop mysql
|
||||||
|
|
||||||
rm /etc/mysql/mysql.conf.d/mysqld.cnf
|
rm -rf /etc/mysql/ /etc/my.cnf.d/ /etc/my.cnf
|
||||||
wget -q -t7 "$mrepo"/raw/branch/"$mbranch"/config/MySQL/mysqld-V8.cnf -O /etc/mysql/mysql.conf.d/mysqld.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 start mysql
|
||||||
systemctl enable mysql
|
systemctl enable mysql
|
||||||
|
|||||||
Reference in New Issue
Block a user