Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect PlanetScale to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to PlanetScale.
Implementation
This handler is implemented by extending the MySQL data handler. The required arguments to establish a connection are as follows:user
is the database user.password
is the database password.host
is the host name, IP address, or URL.port
is the port used to make TCP/IP connection.database
is the database name.