finebi安装好后,启动连接自定义数据库报错

finebi安装好后,启动连接自定义数据库报错

image.png

完整log如下,貌似是报 fine_conf_entity 表不存在

导入数据失败

收起信息

返回

重试

com.fr.third.org.hibernate.exception.SQLGrammarException: could not execute statement

at com.fr.third.org.hibernate.exception.internal.SQLExceptionTypeDelegate.convert(SQLExceptionTypeDelegate.java:63)

at com.fr.third.org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)

at com.fr.third.org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)

at com.fr.third.org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)

at com.fr.third.org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:207)

at com.fr.third.org.hibernate.hql.internal.ast.exec.BasicExecutor.doExecute(BasicExecutor.java:91)

at com.fr.third.org.hibernate.hql.internal.ast.exec.BasicExecutor.execute(BasicExecutor.java:60)

at com.fr.third.org.hibernate.hql.internal.ast.exec.DeleteExecutor.execute(DeleteExecutor.java:111)

at com.fr.third.org.hibernate.hql.internal.ast.QueryTranslatorImpl.executeUpdate(QueryTranslatorImpl.java:429)

at com.fr.third.org.hibernate.engine.query.spi.HQLQueryPlan.performExecuteUpdate(HQLQueryPlan.java:374)

at com.fr.third.org.hibernate.internal.SessionImpl.executeUpdate(SessionImpl.java:1360)

at com.fr.third.org.hibernate.internal.QueryImpl.executeUpdate(QueryImpl.java:102)

at com.fr.decision.migration.manager.AbstractTransferManager.truncateTable(AbstractTransferManager.java:433)

at com.fr.decision.migration.manager.AbstractTransferManager.truncateTables(AbstractTransferManager.java:332)

at com.fr.decision.migration.manager.AbstractTransferManager.transfer(AbstractTransferManager.java:239)

at com.fr.decision.migration.manager.AbstractTransferManager.startTransfer(AbstractTransferManager.java:92)

at com.fr.decision.migration.MigrationContext$TransferManagerCollection.startTransfer(MigrationContext.java:368)

at com.fr.decision.migration.MigrationContext$1.run(MigrationContext.java:126)

at java.lang.Thread.run(Thread.java:748)

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'finedb.fine_conf_entity' doesn't exist

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

at com.mysql.jdbc.Util.handleNewInstance(Util.java:403)

at com.mysql.jdbc.Util.getInstance(Util.java:386)

at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3869)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675)

at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)

at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1915)

at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2136)

at com.mysql.jdbc.PreparedStatement.executeUpdateInternal(PreparedStatement.java:2070)

at com.mysql.jdbc.PreparedStatement.executeLargeUpdate(PreparedStatement.java:5187)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2055)

at com.fr.third.alibaba.druid.pool.DruidPooledPreparedStatement.executeUpdate(DruidPooledPreparedStatement.java:255)

at com.fr.third.org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:204)

... 14 more

FineBI 商鞅 发布于 2022-8-6 12:55
1min目标场景问卷 立即参与
回答问题
悬赏:4 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共1回答
最佳回答
0
zsh331Lv8专家互助
发布于2022-8-6 13:13

参考文档,MySQL切换下外接数据库的「数据库引擎」。

-->外接数据库配置常见问题-https://help.fanruan.com/finebi/doc-view-529.html

——————————————————

image.png

  • 2关注人数
  • 483浏览人数
  • 最后回答于:2022-8-6 13:13
    请选择关闭问题的原因
    确定 取消
    返回顶部