The MySQL connector lets your workflows interact with any MySQL-compatible database, including Amazon RDS, Google Cloud SQL, PlanetScale, and self-hosted instances.Documentation Index
Fetch the complete documentation index at: https://docs.spojit.com/llms.txt
Use this file to discover all available pages before exploring further.
Connection setup
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.,
rootor a dedicated application user) - Password
- Database (optional — the default database to connect to)
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
Common MySQL settings
| Provider | Host example | Port | Notes |
|---|---|---|---|
| AWS RDS | mydb.abc123.us-east-1.rds.amazonaws.com | 3306 | Enable SSL, allow security group access |
| Google Cloud SQL | 10.0.0.3 (private IP) or via proxy | 3306 | Use Cloud SQL Auth Proxy for secure access |
| PlanetScale | aws.connect.psdb.cloud | 3306 | SSL required, use connection string from dashboard |
| Self-hosted | localhost or server IP | 3306 | Ensure firewall allows connections |
Tools
execute-query — Execute a raw SQL query
execute-query — Execute a raw SQL query
list-databases — List all databases
list-databases — List all databases
List all databases accessible with the current credentials.Example response:
list-tables — List tables in a database
list-tables — List tables in a database
Database name. Defaults to the connection’s database.
describe-table — Get table schema
describe-table — Get table schema
insert-rows — Insert rows into a table
insert-rows — Insert rows into a table
update-rows — Update rows matching a condition
update-rows — Update rows matching a condition
Table name.
Column values to update.
WHERE clause. Use
? placeholders for parameterized values.Values for
? placeholders in the WHERE clause.Database name. Defaults to the connection’s database.
delete-rows — Delete rows matching a condition
delete-rows — Delete rows matching a condition