Implementation
This handler is implemented usingpymonetdb
, a Python library that allows you to use Python code to run SQL commands on the MonetDB database.
The required arguments to establish a connection are as follows:
user
is the username associated with the database.password
is the password to authenticate your access.host
is the host name or IP address.port
is the port through which TCP/IP connection is to be made.database
is the database name to be connected.schema_name
is the schema name to get tables. It is optional and defaults to the current schema if not provided.
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/monetdb_handler) and run this command:
pip install -r requirements.txt
.