Spotter-VM/mifosx/tmp/mifosx-createdb.sql

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'@'%';