Mycat查表报错find no Route:select * from `db_user`.`users` limit 0, 100

修改schema.xml的 checkSQLschema=“false”,改为true即可

<schema name="db_store" checkSQLschema="true" sqlMaxLimit="100">

 当该值为true时,例如我们执行语句select * from TESTDB.company 。mycat会把语句修改为 select * from company 去掉TESTDB。

猜你喜欢

转载自blog.csdn.net/qq_38423105/article/details/83241863