JDBC Connection for MySql using Type-4 Driver (Gujarati)
MySql Database Connection.
In this video, first the packages related to JDBC is imported, then the jar files related to MySql Database is attached in the project in configure build path, then the using Class.forName() the driver is loaded in memory.
After that Url, User and password are defined.
DriverManager.getConnection(url, user, password) is used to open the connection.
And, finally after the successfully opening the connection, the connection is closed to complete the connection internal processes.
MySql Connector Jar Type-4 (MySql Driver file)
https://raviroza.wordpress.com/advance-java/jdbc/
https://mvnrepository.com/artifact/mysql/mysql-connector-java
Follow me @
https://raviroza.wordpress.com/
https://raviroza.blogspot.com/
No comments:
Post a Comment