Apache Doris 中文技术论坛
Questions Tags Users Badges

【已解决】doris-2.0.4-rc05,使用jdbc批数据时候报错,而同样的代码,数据可以插入Mysql中

Asked May 23, 2024 Modified May 27, 2024
Viewed 192
2.0

代码报错java.sql.SQLNonTransientConnectionException: Unknown command(27)
doris fe中报错
2024-05-23 14:25:06,720 WARN (mysql-nio-pool-13041|2099417) [ConnectProcessor.dispatch():564] Unknown command(27)

edited May 27, 2024
MarinH5
asked May 23, 2024
2 Answers

mysql-connector-java 版本修改为 8.0.20可以避免此问题

edited Jan 1, 1970
MarinH5
answered May 27, 2024

是通过什么方式写入,springboot+jdbc吗?
可以试试jdbcTemplate.batchUpdate(数组) 来执行insert/update语句

edited Jan 1, 1970
张彬华7688
answered May 23, 2024
Related Questions
storage policy删除以后,日志一直报could not find storage_policy
1 answers
doris 使用catalog外部数据hive, 在切换库时 特别阻塞时间长,应该如何排查
1 answers
doris 没隔一段时间生成的image ,不停缓慢增长,已经有7个多G了
2 answers
delete bitmap问题
1 answers
升级后 SSL connection required for plugin "mysql_clear_password". Check if 'sslMode' is enabled.
DorisBE节点global类型中Orphan占用内存高
1 answers

Terms of service Privacy policy

Powered by Answer - the open-source software that powers Q&A communities.
Made with love © 2025 Apache Doris 中文技术论坛.