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() {