0

How do I create a connection to database?

Share:

An example for obtaining a connection to MySQL database. For connecting to other database all you have to do is change the url to match to url format for a particular database and of course you have to register a correct JDBC driver of the database you are using.

Filed in: JDBC API
© 2014 Java Examples - Built with love by Wayan Saryada.