If somebody here looking for a solution to connect to mysql DB from JAVA program, then this post may help you to have a better start: Java Mysql JDBC I have written it for the starter programmers. Regards