sunetdrive/templates/mariadb/04-nextcloud.sql.erb

3 lines
197 B
Plaintext

CREATE SCHEMA nextcloud;
CREATE USER 'nextcloud'@'%' IDENTIFIED BY '<%= @mysql_user_password %>';
GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'%' IDENTIFIED BY '<%= @mysql_user_password %>';