Eclipse中配置dbedit操作mysql数据库

1.首先下载dbedit的插件,大家可以到 http://sourceforge.net/project/showfiles.php?group_id=82837&package_id=85037&release_id=310963去下,也可以直接到 http://nchc.dl.sourceforge.net/sourceforge/dbedit/dbedit_1.0.3_1.bin.dist_3.X.zip去下载,如果大家为了方便的话也可以直接去 ftp://ftp.iteye.com/上下,我上传上去了的。

2.接下来下载mysql驱动程序mysql-connector-java,我也上传到javaeye的ftp了哈。

3.将dbedit插件对应着放到eclipse的安装文件中。

4.启动eclipse,找到"窗口"->"显示视图"->"其他"->"DbEdit"->"Tables"。

5.右击->"New"->"Connection",然后在classpath里面添加mysql驱动程序路径,接下来在common一栏的JDBC Driver中选中第一个"com.mysql.jdbc.Driver",在Server URL中填写jdbc:mysql://localhost/book,User栏写root,接下来连接就可以了。最后发张效果图:

Eclipse中配置dbedit操作mysql数据库

你可能感兴趣的:(eclipse,mysql,.net,PHP,jdbc)