如何将 mysql JDBC 驱动程序添加到 Eclipse 以便 SQL Explorer 可以使用它?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7554325/
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
How to add mysql JDBC driver to Eclipse so it can be used by SQL Explorer?
提问by sorin
I would like where am I supposed to install MySQL JDBC driver in Eclipse so it can be detected and used by SQL Explorer.
我想在 Eclipse 中我应该在哪里安装 MySQL JDBC 驱动程序,以便它可以被 SQL Explorer 检测和使用。
Just to be clear, if possible, I would like to copy the MySQL J connectorto somewhere inside Eclipse. Also a solution with an Eclipse install repository would also be good.
为了清楚起见,如果可能的话,我想将MySQL J 连接器复制到 Eclipse 内的某个地方。带有 Eclipse 安装存储库的解决方案也很好。
回答by Srikanth Venkatesh
Check this Driver Preferences
检查此驱动程序首选项
回答by Souhaieb
you can use this tutorial : http://www.od2dev.be/configuring-aptana-to-connect-mysql-databases/
您可以使用本教程:http: //www.od2dev.be/configuring-aptana-to-connect-mysql-databases/
and it work even without the part of changing the port used by mysql
即使不改变mysql使用的端口,它也能工作
回答by JB Nizet
Just click the Edit button, and specify the correct location of the jar.
只需单击“编辑”按钮,然后指定 jar 的正确位置。