Implementation
This handler is implemented usingcrate, a Python library that allows you to use Python code to run SQL commands on CrateDB.
The required arguments to establish a connection are as follows:
useris the username associated with the database.passwordis the password to authenticate your access.hostis the hostname or IP adress of the server.portis the port through which connection is to be made.schema_nameis schema name to get tables from. Defaults todoc.
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/crate_handler) and run this command:
pip install -r requirements.txt.