News
This code example shows how to establish a connection to a mysql database. To make sure this code works in your case, you must include the mysql connector for java into your project's "Referenced ...
Contribute to ajaynirankari/java-database-connectivity-via-jdbc-api-with-mysql-server development by creating an account on GitHub.
Learn how to connect to a database, execute queries, and handle the results using Java. This article covers the basics of JDBC, SQL, and ResultSet in six easy steps.
JDBC (Java Database Connectivity) is the Java API that manages connecting to a database, issuing queries and commands, and handling result sets obtained from the database.
Select the mysql-connector-java-XXX-bin.jar file (where XXX is the release number) and click OK. Click OK to exit out of the Options window and you’re ready to connect to your remote database.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results