注册
关于达梦使用nacos2.4.1遇到的一次奇怪问题分享
技术分享/ 文章详情 /

关于达梦使用nacos2.4.1遇到的一次奇怪问题分享

Solreal 2026/05/09 91 0 0

基础环境简介

  • 数据库版本:8.1.4.80
  • 驱动版本:8.1.4.80
  • nacos版本:2.4.1

遇到的问题

在某项目适配中有用到达梦数据库,网上查过相关资料,此版本以支持达梦数据库。
首次使用大小写不敏感的数据库进行连接nacos启动日志一直提示找不到对应的表名称
0150bbf8f7df54901f2cea8a6c861915.png

后续搞了两个实例做对比测试
达梦数据库大小写敏感实例

使用小写表名启动时:提示找不到对应表

com.alibaba.nacos.api.exception.NacosException: Nacos Server did not start because dumpservice bean construction failure : errCode: 103, errMsg: [MapperManager] Failed to find the table ,tableName:config_info_aggr

使用大写表名启动时:提示找不到对应表

com.alibaba.nacos.api.exception.NacosException: Nacos Server did not start because dumpservice bean construction failure : errCode: 103, errMsg: [MapperManager] Failed to find the table ,tableName:config_info_aggr
达梦数据库大小写不敏感实例

现象如上,模式名大小写不一致则会存在其他报错,例如找不到模式名,或者数据库配置异常

后续实在找不到问题原因,只能怀疑是nacos包的问题,重新下载后导入无论大小写是否敏感均可正常连接😅

评论
后发表回复

作者

文章

阅读量

获赞

扫一扫
联系客服