Mysql Db connection in java notepad
· Download mysql with official website.
· Setup mysql
· Download mysql jdbc driver jar file
· Download java jre.move to c:\program files\java\jdk;
Get Aswetha’s stories in your inbox
Join Medium for free to get updates from this writer.
· Move the jar file for c:\program files\java\jdk\jre\lib\ext
· Goto startmenu search system environment.
· Choose ->environment variable->new->variable name:class path->variable value: paste the jar file path.withextension jar.;
· Click ok.
· Open cmd->type the command.
· Javap com.mysql.jdbc.Driver






