Overview
Connect Plumi to MySQL databases, including:- Self-hosted MySQL
- Amazon RDS for MySQL
- Azure Database for MySQL
- Google Cloud SQL for MySQL
- PlanetScale
- MariaDB
Connection Details
| Field | Description | Example |
|---|---|---|
| Host | Database server address | db.example.com |
| Port | MySQL port (default: 3306) | 3306 |
| Database | Database name | myapp_production |
| Username | Database user | plumi_readonly |
| Password | User password | ******** |
| SSL | Enable SSL connection | true |
Setting Up a Read-Only User
Create a dedicated read-only user for Plumi:Cloud Provider Setup
Amazon RDS
- Ensure your RDS instance allows remote connections
- Add Plumi’s IP to your security group
- Use the RDS endpoint as the host
Azure Database
- Add firewall rules for Plumi’s IP
- Use the server name as host (e.g.,
yourserver.mysql.database.azure.com) - Username format:
username@servername
PlanetScale
- Create a new branch or use your main branch
- Generate connection credentials from the dashboard
- Use the provided host, username, and password