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

3 lines
232 B
Plaintext
Raw Permalink Normal View History

2023-02-13 09:44:56 +00:00
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'@'%';