This is the implementation of the PlanetScale data handler for MindsDB.
PlanetScale is a MySQL-compatible, serverless database platform.
Before proceeding, ensure the following prerequisites are met:
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.In order to make use of this handler and connect to the PlanetScale database in MindsDB, the following syntax can be used:
You can use this established connection to query your table as follows:
This is the implementation of the PlanetScale data handler for MindsDB.
PlanetScale is a MySQL-compatible, serverless database platform.
Before proceeding, ensure the following prerequisites are met:
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.In order to make use of this handler and connect to the PlanetScale database in MindsDB, the following syntax can be used:
You can use this established connection to query your table as follows: