mysql_backup.sh: add documentation comment for MySQL 8.0.

This commit is contained in:
Christoph 2018-12-03 11:41:04 +01:00
parent 642a5c84d1
commit a6e8416551

View File

@ -34,6 +34,14 @@
## - Password field is now: "authentication_string"
## - INSERT INTO user (Host,User,authentication_string,Select_priv,Super_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','Y','','','');
## -
## -
## - Since MySQL 8.x - Password is now set by an extra statement - 'password' function
## - is no longer supported
## - INSERT INTO user (Host,User,Select_priv,Super_priv,Process_priv,Lock_tables_priv,Show_view_priv,Event_priv,Execute_priv,ssl_cipher,x509_issuer,x509_subject) VALUES('localhost','backup','Y','Y','Y','Y','Y','Y','Y','','','');
## -
## - ALTER USER 'backup'@'localhost' IDENTIFIED WITH mysql_native_password BY 'backup';
## -
## -
## - MariaDB (10.1.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) VALUES('localhost','backup',password('backup'),'Y','Y','Y','Y','Y','Y','Y','','','');