JDBC Tutorial

mysql jdbc 08001 could not create connection to database server

When you use MySQL JDBC driver to connect to MySQL database server. You may encounter bellow error messages. try { Connection connection = DriverManager.getConnection(“jdbc:mysql://localhost:3306/dev2qa?useSSL=false”,”test”,”666888″); } catch (SQLException ex) { ex.printStackTrace(); […]

download sql server jdbc driver

This article will tell you how to connect Microsoft SQL Server use JDBC. You can access Sql Server use JDBC with following two methods. Use com.microsoft.sqlserver.jdbc.SQLServerDataSource java object. SQLServerDataSource sqlDs […]

java.sql.DatabaseMetaData interface provide methods to get meta data of your connected database server. Below examples will show you how to do that one by one.