mysql_backup.sh: add comment..
This commit is contained in:
		| @@ -101,6 +101,14 @@ | ||||
| ## -    on command line. | ||||
| ## - | ||||
| ## - | ||||
| ## - MariaDB > 10.3  or installed from debian package system: | ||||
| ## - | ||||
| ## -  mysql -u root -S /var/run/mysqld/mysqld.sock -N -s -e "CREATE USER 'backup'@'localhost' IDENTIFIED BY 'backup'" | ||||
| ## -    | ||||
| ## -  mysql -u root -S /var/run/mysqld/mysqld.sock -N -s -e "GRANT USAGE ON *.* TO 'backup'@'localhost'" | ||||
| ## - | ||||
| ## -  mysql -u root -S /var/run/mysqld/mysqld.sock -N -s -e "GRANT SELECT, SHOW VIEW, EVENT, LOCK TABLES, RELOAD, REPLICATION CLIENT ON *.* TO 'backup'@'localhost'" | ||||
| ## - | ||||
| ## - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | ||||
|  | ||||
| err_Log=${LOCK_DIR}/mysql.err.log | ||||
|   | ||||
		Reference in New Issue
	
	Block a user