Oracle Database
Requirements
- On all operating systems you must have the Oracle Instant Client installed.
- On Linux you must have
libaio
installed. - On MacOS you must be using the
Intel
version of Beekeeper Studio. This is because Oracle does not publish anApple Silicon
version of the Instant Client.
Below are specific instructions for each of the above requirements
Download Oracle Instant Client
Download the Instant Client from the Oracle website.
Choose the download for your operating system.
Linux: Install libaio
Connecting To Oracle Database
There are a number of ways you can connect to an Oracle database using Beekeeper Studio.
- PSA connection string
- SID or Service Name connection string
- TSA alias
- Host and port
Before You Connect: Set Instant Client Location
Before you can connect to Oracle at all you need to tell Beekeeper where on your computer the Oracle Instant Client libraries are stored.
This is an Oracle requirement and not something Beekeeper Studio controls.
In Beekeeper Studio you can choose the location of the instant client in the Global Configuration
section before making your first connection:
Enter Your Oracle Connection String
If you are using a connection string to connect to your database, Beekeeper supports all common forms of Oracle connection strings. See the examples below, or more on the Oracle website
Oracle Connection String Examples
# PDB connection string
<host>:<port>/<PDB>
# simple example with SID or service name
<host>:<port>/<SID or servicename>
# Long service name
(DESCRIPTION=(ADDRESS=(host=host_name)(protocol=protocol_name)(port=port_number))
(CONNECT_DATA=(SERVICE_NAME=service_name)))
# Long version with SID
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=host_name)(Port=port))(CONNECT_DATA=(SID=sid_here)))