![]() Username: The default username for the mysql database is root. We may use any database, in such case, you need to replace the test with your database name. Connection URL: The connection URL for the mysql database is jdbc:mysql://localhost:3306/test where jdbc is the API, mysql is the database, localhost is the server name on which mysql is running, we may also use IP address, 3306 is the port number and test is the database name. So we need to know following informations for the mysql database: Driver class: The driver class for the mysql database is. ![]() In this example we are using MySql as the database. download mysql-connector.jar file goo.gl/ftjWmK if this video really helped you then you can help me out by Donatation me on PayPal /Tarique1 For connecting java application with the mysql database, you need to follow 5 steps to perform database connectivity. you can copy-paste code as well /how-to-co. Check out this article if you have still doubt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |