hhyo / Archery

SQL 审核查询平台
https://archerydms.com
Apache License 2.0
6.08k stars 1.68k forks source link

[ 问题咨询 ]inception结合数据库中间件用会选错库名。 #426

Closed Myshiner closed 5 years ago

Myshiner commented 5 years ago

部署方式为docker部署,v1.6.5

我的审核工具是inception,实例连接中配置的实例是sharding-proxy数据库中间件代理的代理IP和用户名密码,实例连接测试都OK,可以联通,但是提交DML工单的时候,比如我选择的是neworiental_okay_platform,sql是insert into test_aa(id, uname) values(3, 'cmoa');但是执行的时候会报Table 'okay_m2m.test_aa' doesn't exist,也就是说它实际执行的库不是我们选的库,这种情况只在DML的时候出现,DDL没问题。 见截图 image

hhyo commented 5 years ago

可给goinc项目提交issue

yuandajn578 commented 5 years ago

@Myshiner 建议先检查数据库参数 lower_case_table_names 值是否为1

stale[bot] commented 5 years ago

你已经很久没有回复这个issue了,如果没有进一步的信息的话, 会作为不活跃issue关闭, 感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Myshiner commented 5 years ago

lower_case_table_names 就是1,不区分大小写啊