5 A1 DB Installation SQL JDBC
5 A1 DB Installation SQL JDBC
CSE2006-PROGRAMMING-IN-JAVA
JDBC Example
Download MySQL
https://dev.mysql.com/downloads/installer/
Installation
Double Click to
install
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Installation … Cntd.
Do NOT edit
anything else….
Edit Only PATH
Variable…
!! BE CAREFUL !!!
Do NOT edit
anything else….
Edit Only PATH
Variable…
!! BE CAREFUL !!!
create table student (schno INT unsigned NOT NULL AUTO_INCREMENT, name
VARCHAR(150) NOT NULL, course VARCHAR(50) NOT NULL, PRIMARY KEY (schno) );
If you are using cmd prompt for connectivity then you can set classpath:
$ set classpath=z:\Java\mysql-connector-java-8.0.30.jar;.;