Implementation
This handler is implemented using theoracledb library. Please install it with the below command before using this handler.
hostis the host name, IP address, or URL.portis the port used to make TCP/IP connection.sidis the unique identifier of the database instance.useris the database user.passwordis the database password.
disable_oobdefines whether to disable out-of-bank breaks.auth_modedefines the database privilege mode: SYSDBA, SYSOPER, or others.
If you installed MindsDB locally via pip, you need to install all handler dependencies manually. To do so, go to the handler’s folder (mindsdb/integrations/handlers/oracle_handler) and run this command:
pip install -r requirements.txt.Usage
In order to make use of this handler and connect to the Oracle database in MindsDB, the following syntax can be used:sid or service_name arguments to target the right database instance.
You can use this established connection to query your table as follows: