Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect MariaDB to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to MariaDB.
Implementation
This handler is implemented usingmysql-connector
, a self-contained Python driver for communicating with MariaDB servers.
- Connecting using URL
- Connecting using paramaters
Connect MariaDB to MindsDB by providing the URL parameter. Learn more here.
Usage
In order to make use of this handler and connect to the MariaDB database in MindsDB, the following syntax can be used:- Connecting using URL
- Connecting using paramaters