SwisSQL Home SwisSQL SQL Query Converter / Translator
 

  JDBC Drivers

SwisSQL Help Home SwisSQL Help Previous SwisSQL Help Next


This document details about the JDBC Drivers for the databases supported by SwisSQL - Console tool. It explains the data to be furnished to connect to the database. The JDBC drivers for
Oracle, SQL Server, Sybase ASE and MySQL are bundled in the tool itself. The drivers for DB2 UDB, PostgreSQL, Netezza, Teradata and Informix  are not bundled with the tool.

To create a connection to the databases access the "Database connection settings" dialog from the menu "Settings -> Database connections". Now click on the "Add" button to open the
"Add database settings" dialog. For more details refer Connecting to databases

1.  Oracle JDBC Driver

The Oracle JDBC driver is bundled along with the product. The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'Oracle'.
  • Host name - Host name/IP address of the machine in which the Oracle database is running.
  • Port number - Port number in which Oracle is listening. 1521 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • Instance Name - Enter the Oracle SID or instance name.

2. jTDS Driver MS SQL Server

This is an open source driver to connect to MS SQL Server database. This driver has been packaged along with the product. The details specified below are to be provided in the "Add database settings" dialog.
  • Database Type - Select the database name as 'SQL Server'.
  • Host name - Host name/IP address of the machine in which the MS SQL Server is running. To specify an instance name use the format <server name>\<instance name> where <server name> is the Host name/IP address and <instance name> is the SQL Server instance.
  • Port number - Port number in which MS SQL Server  is listening. 1433 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • Database name - The name of the database.

3. jTDS Driver for Sybase

This driver has been packaged along with the product. The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'Sybase'.
  • Host name - Host name/IP address of the machine in which the Sybase is running.
  • Port number - Port number in which Sybase is listening. 2048 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • Database name - The name of the database.

4. MySQL JDBC Driver

This driver has been packaged along with the product. The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'MySQL'.
  • Host name - Host name/IP address of the machine in which the MySQL is running.
  • Port number - Port number in which MySQL is listening. 3306 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • Database name - The name of the database.

5. IBM DB2 JDBC Driver

The driver files are present in the DB2 installation, in the location [DB2_HOME]\sqllib\java. DB2_HOME denotes the directory in which DB2 is installed.
This driver is available from DB2 UDB v8.1 onwards. Using this driver you can connect to a local or remote DB2 UDB. This driver can also be downloaded from the following location :

  • Visit the url: http://www.ibm.com/software/data/db2/udb/
  • Visit the Trials and betas link on this page
  • In the Search for: field enter "jdbc"
  • You will probably get one match:
    DB2 Personal Developer's Edition: Redistributable JDBC Type 4 Driver
  • Click on this link and then follow the instructions 

The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'DB2'.
  • Host name - Host name/IP address of the machine in which the DB2 is running.
  • Port number - Port number in which DB2 is listening. 6789 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • JDBC Driver libraries - The driver files are db2jcc.jar and db2jcc_license_cu.jar. Click on the 'Browse' button to select these files in the FileChooser dialog shown.
  • JDBC Driver - Enter the driver class name for the above driver files which is com.ibm.db2.jcc.DB2Driver .
  • Database name - The name of the database.

6. PostgreSQL JDBC Driver

This driver can also be downloaded from the following location :  http://jdbc.postgresql.org/download.html . 

The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'PostgreSQL'.
  • Host name - Host name/IP address of the machine in which the PostgreSQL is running.
  • Port number - Port number in which PostgreSQL is listening. 5432 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • JDBC Driver libraries -  Click on the 'Browse' button to select the JDBC driver file in the FileChooser dialog shown.
  • JDBC Driver - Enter the driver class name for the above driver file which is org.postgresql.Driver .
  • Database name - The name of the database.

7. Netezza JDBC Driver

This driver can be downloaded from the Netezza website.

The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'Netezza'.
  • Host name - Host name/IP address of the machine in which the Netezza is running.
  • Port number - Port number in which Netezza is listening. 5432 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • JDBC Driver libraries -  Click on the 'Browse' button to select the jar file which includes the Netezza JDBC Driver.
  • JDBC Driver - Enter the driver class name for the above driver file which is org.netezza.Driver .
  • Database name - The name of the database.

8. Teradata JDBC Driver

This driver can also be downloaded from the following location :

  • Visit the url: http://www.teradata.com/downloadcenter/
  • Visit the Teradata JDBC Driver link on this page
  • Select the Teradata JDBC Driver for your Teradata server and download the same.

The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'Teradata'.
  • Host name - Host name/IP address of the machine in which the Teradata is running.
  • Port number - Port number in which Teradata is listening. 1025 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • JDBC Driver libraries -  Click on the 'Browse' button to select the jar file which includes the Teradata JDBC Driver. The jar files are terajdbc4.jar and tdgssconfig.jar.
  • JDBC Driver - Enter the driver class name for the above driver file which is com.teradata.jdbc.TeraDriver .
  • Database name - The name of the database.

9. Informix JDBC Driver

This driver can also be downloaded from the following location :

  • Visit the url: http://www.ibm.com/software/data/informix/tools/jdbc/
  • Visit the Trials and betas link on this page
  • In the Search for: field enter "jdbc"
  • Click on the link available in the search results and then follow the instructions.

The details specified below are to be provided in the "Add database settings" dialog.

  • Database Type - Select the database name as 'Informix'.
  • Host name - Host name/IP address of the machine in which the Informix is running.
  • Port number - Port number in which Informix is listening. 1526 is the default port.
  • User name - Enter the user name
  • Password - Enter the password
  • JDBC Driver libraries -  Click on the 'Browse' button to select the jar file which includes the Informix JDBC Driver.
  • JDBC Driver - Enter the driver class name for the above driver file which is com.informix.jdbc.IfxDriver .
  • Server name - The name of the Informix server.
  • Database name - The name of the database.<> 


SwisSQL Help Home SwisSQL Help Previous SwisSQL Help Next

© 2011 ZOHO Corporation