mysql-connector-java 用于 mysql 5.6
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/21010122/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
mysql-connector-java for mysql 5.6
提问by Tony
I have a project in play! framework. I used mysql 5.1 and added mysql-connector-java dependencies and it worked pretty well.
我有一个项目在玩!框架。我使用了 mysql 5.1 并添加了 mysql-connector-java 依赖项,并且效果很好。
But now I need to upgrade mysql to 5.6, yet there is no mysql-connector-java for 5.6 that I can find.
但是现在我需要将 mysql 升级到 5.6,但我找不到 5.6 的 mysql-connector-java。
Can anyone provide some walk-around in this case? Is it possible to have 2 versions of mysql where one for the project and one for my other need such as integration with the db backup, while the two version shares the same db?
在这种情况下,任何人都可以提供一些走动吗?是否可以有 2 个版本的 mysql,其中一个用于项目,另一个用于我的其他需求,例如与数据库备份集成,而两个版本共享相同的数据库?
Thanks a lot.
非常感谢。
采纳答案by Evgeniy Dorofeev
See this http://dev.mysql.com/doc/refman/5.6/en/connector-j-versions.htmlit says that for MySQL 4.1, 5.0, 5.1, 5.5, 5.6, 5.7 recommended Connector/J version is 5.1
看到这个http://dev.mysql.com/doc/refman/5.6/en/connector-j-versions.html它说对于 MySQL 4.1, 5.0, 5.1, 5.5, 5.6, 5.7 推荐的 Connector/J 版本是 5.1