zjcnb commented on issue #18331: URL: https://github.com/apache/shardingsphere/issues/18331#issuecomment-1160442231
> jdbc:mysql://127.0.0.1:3306/aa?useSSL=false&allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&sessionVariables=ob_query_timeout=30000000,ob_read_consistency='weak' Yeah, you are right. But it 's right if you not use `DistSQL`. <img width="1378" alt="image" src="https://user-images.githubusercontent.com/33742097/174610437-4997f5bf-b988-4d9f-8b4d-6716e283cbcc.png"> Use `DistSQL` : ``` ADD RESOURCE ds0 ( URL="jdbc:mysql://127.0.0.1:3306/ds0?useSSL=false&allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&sessionVariables=ob_query_timeout=30000000,ob_read_consistency='weak'", USER=root, PASSWORD=123456 ); ``` <img width="1272" alt="image" src="https://user-images.githubusercontent.com/33742097/174610113-745878bf-d35f-4f10-a4c8-77c88395c6ba.png"> So, i think `DistSQL` ignores `''`, if you are interested, you can try to modify `DistSQL` Parse. -- 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]
