@travisdh1 making a sql file is a pain in the ass.

Look at my Nextcloud 11 guide for the simpler way to handle that and securing mariadb.