DbSchema is a comprehensive tool for designing and managing Oracle databases.
It provides powerful features, like visual schema design, team collaboration with Git, easy schema deployment, and interactive HTML5 documentation.
How to Connect to Oracle Database
Watch the step-by-step video tutorial below:
For written documentation, please continue reading...
Open DbSchema, then click "Connect to Database" on the Main Screen and choose your database system.
DbSchema will automatically download the required JDBC driver.
Before starting the connection process in DbSchema, verify that the Oracle Database server is running and ready to accept incoming connections.
I. Configure the Local Connection via SID in DbSchema
Select 'Connect via SID from the JDBC URL
To connect to Oracle from your computer, insert the database username (usually sys as sysdba) and password configured during the
Oracle Database installation.
Specify the SID (e.g., ORCLCDB) of the database you want to connect to. You can run the command SHOW PARAMETER INSTANCE_NAME
in SQL*Plus, and the SID will appear as the value of the instance_name parameter in the list.
Click 'Connect' and select the schema you want to reverse engineer.
II. Configure the Remote Connection via SID in DbSchema
To allow remote connections, you need to check the Firewall Rules : Ensure that the firewall on the server permits traffic through port 1521.
Select the Remote computer or custom port
Here, you can enter the IP address or the Hostname (Windows Computer Name)
of your remote Oracle Server to connect from your local computer to another remote machine.
Test the connection (Ping)
Insert the database username (usually sys as sysdba) and password configured during the
Oracle server installation.
Specify the SID (e.g., ORCLCDB) of the database you want to connect to. You can run the command SHOW PARAMETER INSTANCE_NAME
in SQL*Plus, and the SID will appear as the value of the instance_name parameter in the list.
Click 'Connect' and select the schema you want to reverse engineer.
Click the 'Database Connection' tab: Download and unzip the wallet to a local folder, such as C:/Temp/OracleWallet.
Set a Wallet Password: During the download process, you will be prompted to create a wallet password. For example, you can use 'dbschemasecret'.
Open and edit in any text editor the DbSchema.vmoptions file, located in the DbSchema installation folder. Add the following parameters
to configure the connection by referencing the downloaded wallet files and the password you created during the wallet setup:
Note: Replace YourPassword123 with a secure password of your choice. The ORACLE_SID specifies the database SID, and ORACLE_PDB specifies the pluggable database name.
Note: The database username is usually SYS as SYSDBA, and the password is the one you set in ORACLE_PWD.