TuiQiao / CBoard

An easy to use, self-service open BI reporting and BI dashboard platform.

Home Page:https://tuiqiao.github.io/CBoardDoc/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

社区版新建数据源重启服务器后配置丢失

JooYoung-Li opened this issue · comments

按照官方的配置步骤进行config.properties文件中的信息修改,修改为mysql数据库,但是配置完信息后重启服务器,新建的数据源配置信息还是丢失了,请教一下解决方案,谢谢!

commented

你改的哪个文件

部署在win10系统的tomcat,配置文件路径为tomcat下的webapps\ROOT\WEB-INF\classes\config.properties

commented

不应该啊,贴一下配置看看,从来没有遇到过这种问题

validationQuery=SELECT 1
jdbc_url=jdbc:mysql://127.0.0.1:3306/cboard
jdbc_username=root
jdbc_password=qweza

Service configuration

dataprovider.resultLimit=1000000
admin_user_id=1
phantomjs_path=E:/tools/phantomjs-2.1.1-windows/bin/phantomjs.exe

mail.smtp.host=127.0.0.1
mail.smtp.port=8825
mail.smtp.from=test@test.com
#mail.smtp.username=test@test.com
#mail.smtp.password=111111
#mail.smtp.ssl.checkserveridentity=false

Cache Properties

cache.redis.hostName=127.0.0.1
cache.redis.port=6379

org.quartz.threadPool.threadCount=10

Storage File Syatem

1 Stores data in file system

aggregator.h2.url=jdbc:h2:~/H2Data/cboard;AUTO_SERVER=TRUE;LOG=0;UNDO_LOG=0

2 Stores data outside of the VM's heap - useful for large memory DBs without incurring GC costs.

#aggregator.h2.url=jdbc:h2:nioMemFS:cboard;LOG=0;UNDO_LOG=0
aggregator.h2.database.name=cboard
aggregator.h2.cleanjob.quarz=0 1 0 * * ?

log.negativeFilter=List\.do
log.positveFilter=

希望大佬帮忙看看啥原因,感谢!

mvn -h2的参数去掉即可,谢谢大佬