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