Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Teradata to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Teradata.
Implementation
This handler is implemented usingteradatasql
, the Python driver for Teradata.
The required arguments to establish a connection are as follows:
host
is the host name or IP address of the Teradata Vantage instance.user
specifies the user name.password
specifies the password for the user.database
sets the database for the connection.
Usage
You can use the below SQL statements to create a database in Teradata calledHR
and a table called Employees
.
The above example assumes usage of Teradata Vantage running on Oracle VirtualBox.