Home > Database > Mysql Tutorial > 使用Netbeans操作MySQL 数据库的方法(1)[组图]_MySQL

使用Netbeans操作MySQL 数据库的方法(1)[组图]_MySQL

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-01 13:59:15
Original
1118 people have browsed it

   由于在开发中,我们经常要使用数据库,对数据库进行各种操作,由于Netbeans集成开发环境对各种主流数据库的支持,我们开发人员可以很方便的利用Netbeans进行项目开发,节约很多时间,带来方便。
  首先确保电脑上安装好netbeans和mysql,本人使用的是netbeans6.5和mysql5.1版本,大家可以从sun的官方网站上下载最新的版本.

  1.添加mysql数据库驱动

  启动netbeans开发工具,在services(服务)窗口中展开databases(数据库)节点,大家就可以看到一个数据库的资源管理器,如下图:

  

使用Netbeans操作MySQL 数据库的方法(1)[组图]_MySQL

  其中在Drivers包中包含了所有数据库的驱动程序,如果要使用netbeans来操作mysql,必需在这里添加mysql的驱动程序,右键单击 Drivers(驱动程序)节点,然后选中“New Dirver...”命令,打开一个新建JDBC驱动程序的窗体,如下图:

  

使用Netbeans操作MySQL 数据库的方法(1)[组图]_MySQL


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template