Methods for operating MySQL databases using Netbeans (1) [group chart] because we often use databases during development, we perform various operations on the database, thanks to the support of various mainstream databases in the integrated development environment of Netbeans, our developers can easily use Netbeans for project development, saving a lot of time and bringing convenience.
First, make sure that netbeans and mysql are installed on the computer. I am using netbeans6.5 and mysql5.1. you can download the latest version from sun's official website.
1. add the mysql database driver
Start the netbeans development tool and expand the databases (database) node in the services window. you can see a database resource manager, such:
The Drivers package contains all the database Drivers. to use netbeans to operate mysql, you must add the mysql driver here and right-click the Drivers node, then select "New Dirver... "command to open a new JDBC driver form, such: