Connect to your database server
SQL4X Manager J uses JDBC to access your database server. JDBC is a well established technology for database connections and available from almost any vendor. The New Connection Assistant makes it easy for you to connect to your database server via JDBC. Follow the steps below to check for installed JDBC drivers, download necessary drivers and connect to your database server. Please note that not all dialogs will be shown, depending on your selections.
How to connect to your database server
Create New JDBC Connection Start the New Connection Assistant (File menu) and select the database server you want to connect to in the database selection. All database server with special support are listed by name. If you are using any other JDBC enabled database server choose "Generic JDBC". If you are adding your first connection to a particular database server choose "I don't know" for "Driver Installed". This will check for the necessary JDBC driver and try to load the driver. If there is an error with the driver installation this setting will detect and report it. Click the right arrow to continue with the assistant. Comment on Microsoft SQL Server: The official Microsoft JDBC driver does only support SQL Server 2000 and newer. If you want to access SQL Server 6.5 or 7 we recommend you to choose the jTDS driver. The jTDS driver also works with SQL Server 2000 and is fully supported by the New Connection Assistants automatic download feature. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Detect JDBC Driver Click on "Detect" to load the chosen JDBC driver. If the driver is already installed "JDBC Driver loaded." is displayed in "Connection Status". If an error occurs with the JDBC driver the message is displayed in Driver Manager Messages. Click the right arrow to continue with the assistant. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Download JDBC Driver This page will only be displayed if you want to access a database server and the New Connection Assistant did not recognize any installed drivers on your system. Click "Download" to start downloading the necessary JDBC driver. Depending on the license of your database vendor this can either result in an immediate download and installation of the driver or a guide how to install the JDBC driver is displayed.
Restart SQL4X Manager J after downloading your new JDBC driver. This is necessary for SQL4X Manager J to recognize the new driver. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
JDBC Connection Settings As soon as your driver is installed and ready to use the JDBC Connection Settings panel is displayed. Enter the following values to connect to your database server:
Click the right arrow to continue with the assistant. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Test JDBC Connection Click on "Connect" to check your JDBC settings. The selected JDBC driver is loaded, a connection to your database server is established and the connection is opened for access with the specified user and password. Any error messages are displayed in "Connection Messages". If your conenction is established successfully "done." is displayed behind each step in "Connection Status". Otherwise you can see which step failed. To correct errors in the JDBC settings click the left arrow to go back. What does failed mean at this position:
Click the right arrow to continue with the assistant. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Finish Driver Setup Click on "Finish" to add your new connection. Your changes to the connection will not reflect directly in other parts of the SQL4X Manager J. To see the new connection click on "Refresh" in the Database Navigator. |
Change existing connections
To change an existing connection open the SQL4X Manager J preferences. A table with your current connection settings will be displayed. Edit the connection settings and close the preferences dialog to save the changes. Click on "Refresh" in Database Navigator to relead the modified connection settings.