How to connect java and mysql?
Use mysqlconnector jar and get the connection object
Main thing here is ""jdbc API "" ... Means java database connection application programme interface will acting as a establishing the connection b\w java pro and my SQL ..... Through java program we can access the database ... Main here jdbc drivers are used ......
Load drivers of my SQL into java program. Establish connection with data base
Also connect with http get Or post class
You can download the jdbc for my sql
We can connect java with mysql using jdbc
Use mysql-connector jar file
By Configuring with MySQL connector...get connection object
U should have drivers of mysql nd u need to estsblish a connection with database