sunetdrive/templates/mariadb/02-backup_user.sql.erb

3 lines
232 B
Plaintext

CREATE USER 'backup'@'%' IDENTIFIED BY '<%= @backup_password %>';
GRANT SELECT, INSERT, CREATE, RELOAD, PROCESS, SUPER, LOCK TABLES, REPLICATION SLAVE, REPLICATION CLIENT, SHOW VIEW, EVENT, CREATE TABLESPACE ON *.* TO 'backup'@'%';