From bceeb9bbbda90b1aae410328c0fe81db79047859 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 8 Feb 2017 01:37:37 +0100 Subject: [PATCH] Add comment for MariaDB --- hosts/scripts/mysql_backup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/scripts/mysql_backup.sh b/hosts/scripts/mysql_backup.sh index b7683b4..f5a8ece 100755 --- a/hosts/scripts/mysql_backup.sh +++ b/hosts/scripts/mysql_backup.sh @@ -29,6 +29,10 @@ ## - Password field is now: "authentication_string" ## - INSERT INTO user (Host,User,authentication_string,Select_priv,Process_priv,Lock_tables_priv,Show_view_priv,Event_priv,Execute_priv,ssl_cipher,x509_issuer,x509_subject) VALUES('localhost','backup',password('backup'),'Y','Y','Y','Y','Y','Y','','',''); ## - +## - MariaDB (10.1.x) +## - +## - INSERT INTO user (Host,User,Password,Select_priv,Process_priv,Lock_tables_priv,Show_view_priv,Event_priv,Execute_priv,ssl_cipher,x509_issuer,x509_subject) VALUES('localhost','backup',password('backup'),'Y','Y','Y','Y','Y','Y','','',''); +## - ## - or if updating from older mysql version: ## - ## - UPDATE user SET Execute_priv = 'Y' WHERE User = 'backup';