Moqui修改数据库
/runtime/conf/MoquiDevConf.xml文件中
<entity-facade crypt-pass="MoquiDevDefaultPassword:CHANGEME"/>
替换为
<entity-facade crypt-pass="MoquiDevDefaultPassword:CHANGEME">
<datasource group-name="transactional" database-conf-name="mysql" schema-name="moquitransactional" startup-add-missing="true">
<inline-jdbc jdbc-uri="jdbc:mysql://localhost:3306/moquitransactional?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
jdbc-username="root" jdbc-password="" pool-minsize="2"
pool-maxsize="50" />
</datasource>
<datasource group-name="analytical" database-conf-name="mysql" schema-name="moquianalytical">
<inline-jdbc jdbc-uri="jdbc:mysql://localhost:3306/moquianalytical?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
jdbc-username="root" jdbc-password="" pool-minsize="2"
pool-maxsize="50" />
</datasource>
<datasource group-name="tenantcommon" database-conf-name="mysql" schema-name="moquitenantcommon">
<inline-jdbc jdbc-uri="jdbc:mysql://localhost:3306/moquitenantcommon?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8"
jdbc-username="root" jdbc-password="" pool-minsize="2"
pool-maxsize="50" />
</datasource>
</entity-facade>
<!-- jiasudu 15000850008 -->