From 6099b25517bb3841062784754db51ed23b3a54ed Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Thu, 16 Apr 2020 17:17:38 +0200 Subject: [PATCH] New step to setup official repository for the latest version --- seqs/mysql.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/seqs/mysql.sh b/seqs/mysql.sh index 77fd076..b1bb0fe 100755 --- a/seqs/mysql.sh +++ b/seqs/mysql.sh @@ -8,6 +8,7 @@ databasePackages="mariadb-server mariadb-client" step_1_info() { echo "Installation of ${databaseName} packages:" echoinfo "$databasePackages" + echoinfo "(Consider step \"latest\" first to setup official repository with the latest version)" } step_1_alias() { ALIAS=install; } step_1() { @@ -38,6 +39,12 @@ lower_case_table_names=0 #innodb_force_recovery=6" +step_8_info() { echo "Setup ubuntu $databaseName repository"; } +step_8_alias() { ALIAS="latest"; } +step_8() { + exep "curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --skip-maxscale --skip-tools" +} + step_10_info() { echo "Create mysql database without specific characterset"; } step_10_alias() { ALIAS="createdb"; } step_10() {