To access a database with DbVisualizer, you must first create and setup a Database Connection. The easiest way to set up a connection is to use the Connection Wizard, but you can also do it manually.
Setting Up a Connection Manually
- Create a new connection from Database->Create Database Connection and click No Wizard when prompted. An Object View tab for the new connection is opened,
- Enter a name for the connection in the Name field, and optionally enter a description of the connection in the Notes field,
- Leave the Database Type as Auto Detect,
- Select an installed JDBC driver (marked with a green checkmark) from the Driver (JDBC) list (see Installing a JDBC Driver for how to install a JDBC driver manually),
- Enter information about the database server in the remaining fields (see below for details),
- Verify that a network connection can be established to the specified address and port by clicking the Ping Server button,
- If Ping Server shows that the server can be reached, click Connect to actually connect to the database server.
See Fixing Connection Issues for some tips if you have problems connecting to the database.
Alternatively, you can set the Settings Format to Database URL (this is the only choice for some custom JDBC drivers). This replaces the fields for information about the database server with a single Database URL field, where you can enter the JDBC URL.
|Database Server||The IP address or DNS name for the server where the database runs.|
|Database Port||The TCP/IP port used by the database.|
|The database user account name. Enter |
|Database Password||The database user account password. Enter |
For some database such as Oracle, you may use a TNS name instead of specifying the server and port. Other drivers may add more fields that are driver specific.
You may also optionally specify SSH tunneling information and Options, such as:
|Auto Commit||Check if you want to enable auto commit in the SQL Commander by default for the connection.|
|Save Database Password||Check if you want the password to be saved (encrypted) during the session, between sessions, or cleared when you disconnect.|
|Permission Mode||One of Development, Test or or Production to select which set of Permissions to use.|
See the Configuring Connection Properties page for related topics.