-
Notifications
You must be signed in to change notification settings - Fork 8.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用mysql-connector-java 6.0.3的时候,数据源建立失败 #1351
Comments
还有这样的问题啊,我将会尽快跟进,谢谢反馈,如果能够进一步提供错误信息就好了 |
从6.0开始mysql driver的class变成com.mysql.cj.jdbc.Driver了,楼主确定驱动没有写错? |
升级驱动6.0.3,druid1.0.23后出现一个NPE
原因应该是没有“com.mysql.jdbc.MySQLConnection”类了。 |
我用了新驱动,也是不行 在 Amous [email protected],2016年8月1日 18:20写道:升级驱动6.0.3,druid1.0.23后出现一个NPE Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. 原因应该是没有“com.mysql.jdbc.MySQLConnection”类了。 —You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread. |
这是一个问题,已经修复,请等待这几天发布新版本吧 |
Good One |
使用这个驱动的时候,数据源建立失败
如果使用
这个驱动就可以
The text was updated successfully, but these errors were encountered: