eclipse里database Development怎么连接mysql数据库

如题所述

eclipse里使用database Development连接数据库步骤如下:
1、打开Eclipse后,选择Window;
2、在Windwos下选择Open perspective;
3、在右侧显示的菜单中选中database Development,Eclipse自动切换到database Development视图;
4、从左侧的树型菜单中选择Database Connections,右键点击new;
5、在弹出new connection profile中选择要连接的数据库类型,这里选择mysql;
6、接下来选择driver,选择对应的数据库的驱动版本,指定jar、properties;
完成连接配置。
注:使用open scrapbook to edit sql statement,执行sql。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2013-03-28
Window->Show View->Database Source Explorer,然后在Database Source Explorer窗口里面右击Database Connections点击new,在弹出来的New Connection Profile中选择MySQL点击Next,若Drivers的下拉框中有合适的选择下面配置一下就可以了,若没有,点击下拉框右侧的小图标按钮,在弹出来的框中选择你的mysql对应的版本,再在java list 中选择你的mysql-connection-java-**-bin.jar文件,删除其他的就可以了!
第2个回答  2012-08-19
不会
第3个回答  2012-08-17
不是在程序中连接吗? 你是使用框架??
第4个回答  2012-08-14
还真不知道呀
相似回答