Spotter-VM/lxc-apps/mifosx/install/createdb.sql

6 lines
354 B
MySQL
Raw Normal View History

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