eclipse 内部 mysql

来源:互联网 发布:淘宝怎么买东西最便宜 编辑:程序博客网 时间:2024/06/07 07:46

**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。**

0 0