mysql_backup.sh: add documentation comment for MySQL 8.0.
This commit is contained in:
		| @@ -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','','',''); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user