Spotter-VM/mifosx/setup/createdb.sql
2018-09-13 13:34:27 +02:00

6 lines
354 B
SQL

CREATE USER 'mifosx'@'%' IDENTIFIED BY '${MIFOSX_PWD}';
CREATE DATABASE `mifosplatform-tenants` CHARACTER SET utf8 COLLATE utf8_general_ci;
CREATE DATABASE `mifostenant-default` CHARACTER SET utf8 COLLATE utf8_general_ci;
GRANT ALL PRIVILEGES ON `mifosplatform-tenants`.* TO 'mifosx'@'%';
GRANT ALL PRIVILEGES ON `mifostenant-default`.* TO 'mifosx'@'%';