From bfa298ce23e5bc2ae2274dc1a153a71a5920fa49 Mon Sep 17 00:00:00 2001 From: Christoph Date: Fri, 17 Apr 2020 11:16:34 +0200 Subject: [PATCH] mysql_backup.sh: add comment for backup user MariaDB 10.3.x --- hosts/scripts/mysql_backup.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hosts/scripts/mysql_backup.sh b/hosts/scripts/mysql_backup.sh index 7670810..5037148 100755 --- a/hosts/scripts/mysql_backup.sh +++ b/hosts/scripts/mysql_backup.sh @@ -60,6 +60,13 @@ ## - ## - ## - FLUSH PRIVILEGES; +## - +## - +## - MariaDB (10.3.x) +## - +## - INSERT INTO user (Host,User,Password,Select_priv,Super_priv,Process_priv,Lock_tables_priv,Show_view_priv,Event_priv,Execute_priv,ssl_cipher,x509_issuer,x509_subject,authentication_string) VALUES('localhost','backup',password('backup'),'Y','Y','Y','Y','Y','Y','Y','','','',password('backup')); +## - +## - FLUSH PRIVILEGES; ## - ## - ## - Since Version 5.6, giving password on command line is considered as insecure.