Hi

Where is stipulated the default schema of the mysql database ?

I face 3 issues

1 - The software seems to need to create databases as root (?)

2 - It seems databases MUST be named fineract_tenants and fineract_default. How to change that behavior ?

3 - When I put the database user to have rights on those 2 databases, it ends-up with an error :

liquibase.exception.DatabaseException: (conn=7381) Table 'fineract_tenants.m_adhoc' doesn't exist [Failed SQL: (1146) ALTER TABLE `fineract_tenants`.`m_adhoc` CHANGE `IsActive` `is_active` TINYINT]

How to initiate properly a brand new install ?

I have the following script to start fineract:

#!/bin/bash
cd /data/microfinance
export FINERACT_HIKARI_USERNAME=fineract
export FINERACT_HIKARI_PASSWORD=mypassword
export FINERACT_SERVER_SSL_ENABLED=false
export FINERACT_SERVER_PORT=8080
export FINERACT_HIKARI_DRIVER_SOURCE_CLASS_NAME=org.mariadb.jdbc.Driver
export FINERACT_HIKARI_JDBC_URL="jdbc:mariadb://localhost:3306/fineract_tenants?serverTimezone=UTC&useLegacyDatetimeCode=f
alse&sessionVariables=time_zone=UTC"
export FINERACT_DEFAULT_TENANTDB_PORT=3306
export FINERACT_DEFAULT_TENANTDB_UID=fineract
export FINERACT_DEFAULT_TENANTDB_TIMEZONE=GMT+0
export FINERACT_DEFAULT_TENANTDB_HOSTNAME=localhost
export FINERACT_DEFAULT_TENANTDB_NAME=fineract_tenants
export FINERACT_DEFAULT_TENANTDB_PWD=mypassword
export FINERACT_USER=fineract
export FINERACT_GROUP=fineract
export FINERACT_DEFAULT_TENANTDB_DESCRIPTION=GJ_Microfinance

java -Dloader.path=/data/mmicrofinance/libs/ -jar fineract-provider.jar

Thank you

Reply via email to