jdbc connectivity with mysql
For MySQL 5.1
For Windows users only
Pre-Requisites:
java connectivity with mysql projects,
Environment Variables:
Enter Variable name and Variable value which is mentioned below.
Simple java program to connect Mysql with java using JDBC
java connectivity with mysql example,
java database connectivity code with mysql example
For MySQL 5.1
For Windows users only
Pre-Requisites:
- jdk1.6.0_11(Works with previous versions of JDK) can be downloaded from here
- MySQL Server 5.1
- mysql-connector-java-3.0.11-stable-bin.jar or Download mysql Connector/J
java connectivity with mysql projects,
Environment Variables:
Enter Variable name and Variable value which is mentioned below.
Variable name:
|
JAVA_HOME |
Variable value:
|
C:\Program Files\Java\jdk1.6.0_11 |
Variable name:
|
PATH |
Variable value:
|
C:\Program Files\Java\jdk1.6.0_11\bin |
Variable name:
|
CLASSPATH |
Variable value:
|
.;C:\MysqlDriver\lib\mysql-connector-java-3.0.11-stable-bin.jar |
Simple java program to connect Mysql with java using JDBC
java connectivity with mysql example,
java database connectivity code with mysql example