MySQL: http://www.mysql.com/
MySQL JDBC driver: http://dev.mysql.com/downloads/connector/j/5.0.html
Mysql-front: http://www.mysqlfront.de/
Hebernate: http://www.hibernate.org/
Tools related to hebernate: http://sourceforge.net/projects/hibernatesynch/
In addition, repost an article connecting to MySQL in Eclipse:
MySQL connection configuration in Eclipse:
1. Download mysql-connector-java-5.0.3
Address: http://www.mysql.org/get/Downloads/Connector-J
2. Download and decompress the archive: libraries of the Project copied by the mysql-connector-java-5.0.3-bin.jar.
The steps are as follows:
First copy the compressed package to the project directory, and then select the configuration item in project explorer, right-click and choose Properties> JAVA build path> libraries> Add jars. The following is a connection example to reference other users. But I have verified it:
Import java. SQL .*;
Public class databasecont {
Public static void main (string [] ARGs ){
Try {
Connection conn; statement stmt; resultset res;
Class. forname ("com. MySQL. JDBC. Driver"). newinstance ();
Conn = drivermanager. getconnection ("JDBC: mysql: // localhost: 3306/test ",
Root ","");
Stmt = conn. createstatement ();
Res = stnt. excutequery ("select * From contact ");
While (res. Next () {string name = res. getstring ("name ");
System. Out. println (name);} res. Close ();
} Catch (exception ex ){
System. Out. println ("erro:" + ex. tostring ());
}
}
}
Note: Do not import com. MySQL. JDBC. Driver to your class because it is already in your libaries.