hehua2018 opened a new issue, #19035: URL: https://github.com/apache/shardingsphere/issues/19035
## Bug Report **For English only**, other languages will not accept. Before report a bug, make sure you have: - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues). - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview). Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot reproduce it on current information, we will **close it**. Please answer these questions before submitting your issue. Thanks! ### Which version of ShardingSphere did you use? ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy? ### Expected behavior ### Actual behavior ### Reason analyze (If you can) ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc. ### Example codes for reproduce this issue (such as a github link). Shardingsphere-proxy cross-library query error: Shardingsphere-proxy version: 5.1.2 mysql version: 8.0.27 2022/07/11 17:19:06 172.17.25.16 traceId:169.16575311460680585 com.wjh.universal.dal.config.mvc.interceptor.GlobalExceptionHandler http-nio-80-exec-5 error: ### Error querying database. Cause: java.sql.SQLException: Runtime exception: [Can not support multiple different database.] ### The error may exist in URL [jar:file:/universal-dal.jar!/BOOT-INF/lib/universal-dal-infrastructure-1.1.1.jar!/mybatis/dept/DeptMapper.xml] ### The error may involve defaultParameterMap ### The error occurred while setting parameters ### SQL: select tso.store_id,dept.pk_org,dept.code,dept.name,dept.shortname, dept.parent_pk_dept,dept.pk_org,dept.pk_dept from product.t_store_options tso inner join finance.nc_dept dept on tso.nc_pk_org = dept.pk_org where tso.store_id = ? and parent_pk_dept = '~' ### Cause: java.sql.SQLException: Runtime exception: [Can not support multiple different database.] ; uncategorized SQLException; SQL state [C1997]; error code [1997]; Runtime exception: [Can not support multiple different database.]; nested exception is java.sql.SQLException: Runtime exception: [Can not support multiple different database.] request: Ip: 192.168.90.22 HttpMethod: POST Header: {"content-length":"21","auth-header-params":"%7B%22auth_user_id%22%3A%221207%22%2C%22auth_user_no%22%3A%22B9399%22%2C%22auth_store_id%22%3A%222%22%7D","sw8-x":"0-","sw8":"1-ZThjYmVmMjBlMGVjNDIwOTk2NDk1NjU2M2NjMjk1Y2EuMTY5LjE2NTc1MzExNDYwNjgwNTg1-ZThjYmVmMjBlMGVjNDIwOTk2NDk1NjU2M2NjMjk1Y2EuMTY5LjE2NTc1MzExNDYwNjgwNTg0-1-d21zLXNlcnZlcg==-OWJkZjQ4YWRlZTRkNGUwOGE3NmQwYmNkNGQ1YTNjNWJAMTcyLjE3Ljc3LjI1MQ==-L3dtcy9kZXB0L2ZpbmREZXB0-dW5pdmVyc2FsLWRhbDo4MA==","system-ua":"gateway","host":"universal-dal","sw8-correlation":"","content-type":"application/json;charset=UTF-8","connection":"Keep-Alive","accept-encoding":"gzip","accept":"*/*","user-agent":"okhttp/4.2.2"}  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
