How to connect to a mysql database using com.mysql.jdbc.Driver

Below code shows how to connect to a MySQL database using com.mysql.jdbc.Driver.

About the Author: Eric K

Kenyan Developer and Blogger with Interests in Java,Javascript,Node.js, Wordpress, Android, PHP and Making Money Online. Solving world problems through programming is my passion. Hire me: Email :