From 67f8c0745aec7c07bc5612dc2a438a23c2bed107 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Tue, 3 Sep 2019 13:37:48 +0200 Subject: [PATCH] Update 'mysql-8.0.sh' --- mysql-8.0.sh | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) diff --git a/mysql-8.0.sh b/mysql-8.0.sh index 620bee3..c2d2a26 100644 --- a/mysql-8.0.sh +++ b/mysql-8.0.sh @@ -23,33 +23,6 @@ dpkg -i /tmp/mysql-apt-conf.deb apt-get update apt-get install -y mysql-server -#rm /etc/mysql/mysql.conf.d/mysqld.cnf -#cat > /etc/mysql/mysql.conf.d/mysqld.cnf <<- "EOF" -#[mysqld] -#user = mysql -#pid-file = /var/run/mysqld/mysqld.pid -#socket = /var/run/mysqld/mysqld.sock -#port = 3306 -#basedir = /usr -#datadir = /var/lib/mysql -#tmpdir = /tmp -#lc-messages-dir = /usr/share/mysql -#skip-external-locking +wget -q -t7 https://git.ictmaatwerk.com/VPS-scripts/Ubuntu-Mail/raw/branch/$branch/config/MySQL/mysqld.cnf -O /etc/mysql/mysql.conf.d/mysqld.cnf -#innodb_buffer_pool_size = 1G # (adjust value here, 50%-70% of total RAM) -#innodb_log_file_size = 256M -#innodb_flush_log_at_trx_commit = 1 # may change to 2 or 0 -#innodb_flush_method = O_DIRECT -#bind-address = 127.0.0.1 -#key_buffer_size = 16M -#max_allowed_packet = 16M -#thread_stack = 192K -#thread_cache_size = 8 -#myisam-recover-options = BACKUP -#max_connections = 100 -#table_open_cache = 64 -#innodb-thread-concurrency = 10 -#log_error = /var/log/mysql/error.log -#expire_logs_days = 10 -#max_binlog_size = 100M -#EOF \ No newline at end of file +systemctl restart mysql-server \ No newline at end of file