You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/07/04 14:01:21 UTC
[GitHub] [shardingsphere] xbkaishui opened a new issue #6266: jdbc url not support p6spy driver
xbkaishui opened a new issue #6266:
URL: https://github.com/apache/shardingsphere/issues/6266
## Bug Report
jdbc url not support p6spy driver examples like: jdbc:p6spy:mysql://credigo.ct2ud7p
exceptions:
org.apache.shardingsphere.infra.exception.ShardingSphereException: Cannot resolve JDBC url `jdbc:p6spy:mysql:xxx`. Please implements `org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.spi.JDBCDriverURLRecognizer` and add to SPI.
Please answer these questions before submitting your issue. Thanks!
### Which version of ShardingSphere did you use?
5.x
### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-JDBC
### Expected behavior
mysql
### Actual behavior
org.apache.shardingsphere.infra.exception.ShardingSphereException: Cannot resolve JDBC url `jdbc:p6spy:mysql:xxx`. Please implements `org.apache.shardingsphere.proxy.backend.communication.jdbc.recognizer.spi.JDBCDriverURLRecognizer` and add to SPI.
### Reason analyze (If you can)
current implement depends on JDBCDriverURLRecognizer , it just use url prefix match to check which driver suitable,
can't support such as jdbc:p6spy:mysql:xxx
### Example codes for reproduce this issue (such as a github link).
JDBCDriverURLRecognizerEngine.getJDBCDriverURLRecognizer("jdbc:p6spy:mysql:xxx");
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] dongzl edited a comment on issue #6266: jdbc url not support p6spy driver
Posted by GitBox <gi...@apache.org>.
dongzl edited a comment on issue #6266:
URL: https://github.com/apache/shardingsphere/issues/6266#issuecomment-653856665
Hi @xbkaishui , assigned, welcome!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] tuohai666 closed issue #6266: jdbc url not support p6spy driver
Posted by GitBox <gi...@apache.org>.
tuohai666 closed issue #6266:
URL: https://github.com/apache/shardingsphere/issues/6266
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] dongzl commented on issue #6266: jdbc url not support p6spy driver
Posted by GitBox <gi...@apache.org>.
dongzl commented on issue #6266:
URL: https://github.com/apache/shardingsphere/issues/6266#issuecomment-653856665
Hi @xbkaishui , welcome!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] xbkaishui commented on issue #6266: jdbc url not support p6spy driver
Posted by GitBox <gi...@apache.org>.
xbkaishui commented on issue #6266:
URL: https://github.com/apache/shardingsphere/issues/6266#issuecomment-653770013
please assign to me
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org