Skip to main content
The MySQL connector lets your workflows interact with any MySQL-compatible database, including Amazon RDS, Google Cloud SQL, PlanetScale, and self-hosted instances.

Connection setup

1

Gather your MySQL credentials

You’ll need the following:
  • Host (e.g., localhost, db.example.com, or an RDS endpoint)
  • Port (default: 3306)
  • Username (e.g., root or a dedicated application user)
  • Password
  • Database (optional): the default database to connect to
2

Add the connection in Spojit

Go to Connections in Spojit, click Add Connection, select MySQL, and enter:
  • Host: Your MySQL server hostname or IP
  • Port: MySQL port number (default 3306)
  • Username: Database username
  • Password: Database password
  • Database (optional): Default database name
  • Use SSL (optional): Enable for cloud-hosted databases
Cloud databases: Most cloud providers require SSL connections. Enable the Use SSL toggle when connecting to AWS RDS, Google Cloud SQL, Azure Database for MySQL, or PlanetScale.

Common MySQL settings

Tools

Execute any SQL statement including SELECT, INSERT, UPDATE, DELETE, CREATE, ALTER, and more. Supports parameterized queries with ? placeholders.
string
required
SQL query to execute.
unknown[]
Parameterized query values for ? placeholders.
Example request:
Example response:
List all databases accessible with the current credentials.Example response:
string
Database name. Defaults to the connection’s database.
Example request:
Example response:
Returns column definitions and the CREATE TABLE statement for a table.
string
required
Table name.
string
Database name. Defaults to the connection’s database.
Example request:
Example response:
string
required
Table name.
object[]
required
Array of row objects to insert.
string
Database name. Defaults to the connection’s database.
Example request:
Example response:
string
required
Table name.
object
required
Column values to update.
string
required
WHERE clause. Use ? placeholders for parameterized values.
unknown[]
Values for ? placeholders in the WHERE clause.
string
Database name. Defaults to the connection’s database.
Example request:
Example response:
string
required
Table name.
string
required
WHERE clause. Use ? placeholders for parameterized values.
unknown[]
Values for ? placeholders in the WHERE clause.
string
Database name. Defaults to the connection’s database.
Example request:
Example response: