mysql_backup.sh: add comment..
This commit is contained in:
parent
120adb6e6b
commit
962effc961
@ -101,6 +101,14 @@
|
|||||||
## - on command line.
|
## - 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
|
err_Log=${LOCK_DIR}/mysql.err.log
|
||||||
|
Loading…
Reference in New Issue
Block a user