Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect MySQL to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to MySQL.
Implementation
This handler is implemented using themysql-connector-python
library. It’s a Python client for MySQL that doesn’t depend on any MySQL C libraries.
Connect MySQL to MindsDB by providing the URL parameter. Learn more here.