4-Step Visual Guide · Adapts to Light & Dark Theme

Connect to MySQL in 4 quick steps

Basic → SSH → SSL → Test & Save. One simple flow works for AWS RDS, DigitalOcean, VPC, VPS, and Docker.

Scan on Android / Tablet Opens official Google Play listing
1. Basic2. SSH Tunnel3. SSL / TLS4. Safety & Save
Real app screen: Server & Login fields Real app screen: Server & Login fields
Real app screen: Server & Login fields
STEP 01

Enter basic Server & Login details

Tap "+ New connection" and fill in your host and account:

  • Host & Port: Enter the server hostname or IP. Leave Port empty to use 3306.
  • Username & Password: Leave Password empty if you want HiSQL to prompt on each connect.
  • Default database (Optional): Leave blank to browse every database your account can access.
Real app screen: SSH tunnel expanded with Private key auth Real app screen: SSH tunnel expanded with Private key auth
Real app screen: SSH tunnel expanded with Private key auth
STEP 02

Enable SSH tunnel (Private VPC / Cloud)

Keep port 3306 private by turning on "Connect through SSH":

  • Bastion details: Enter your public SSH host, port (default 22), and SSH username.
  • Password or Private key: Use Password or switch to Private key to import from file or clipboard.
  • Top Host tip: With SSH on, set top Server → Host to the MySQL address from the bastion (e.g. 127.0.0.1 or private RDS endpoint).
Real app screen: Select SSL mode sheet (REQUIRED selected) Real app screen: Select SSL mode sheet (REQUIRED selected)
Real app screen: Select SSL mode sheet (REQUIRED selected)
STEP 03

Enable SSL/TLS encryption

Toggle "Encrypt with SSL/TLS" and pick the SSL mode your host expects:

SSL Mode When to use
DISABLED / PREFERRED No encryption, or encrypt automatically if supported.
REQUIRED Require encryption (works out of the box for most cloud MySQL hosts).
VERIFY_CA / VERIFY_IDENTITY Verify certificate authority and hostname using your CA file below.

Client certificate and key files are optional unless your server requires mutual TLS.

Real app screen: Compression, Read-only & Test / Save bar Real app screen: Compression, Read-only & Test / Save bar
Real app screen: Compression, Read-only & Test / Save bar
STEP 04

Turn on Read-only, Test & Save

Scroll to "More" for safety toggles, then test before saving:

  • Read-only: Blocks changes to data and structure — ideal for production databases.
  • Compression: Sends less data over slow cellular or high-latency networks.
  • Test → Save: Tap Test to verify connectivity, then tap Save to finish.

Quick reference by environment

Same 4 steps everywhere — only these values differ:

EnvironmentHost / PortSSH TunnelTypical SSL Mode
AWS RDS MySQL Private RDS endpoint · 3306 Via EC2 bastion (private key) REQUIRED / VERIFY_CA
DigitalOcean MySQL Cluster host · custom port (e.g. 25060) Optional per allowlist REQUIRED / VERIFY_CA
Alibaba / Tencent RDS VPC internal host · 3306 Via ECS / CVM bastion PREFERRED / REQUIRED
Self-hosted VPS / Docker 127.0.0.1 · 3306 (via SSH) Recommended (keep 3306 closed) Optional (SSH encrypts link)

Ready to connect your MySQL server?

Install HiSQL free and follow the 4 screens above in under a minute.

Scan on Android / Tablet Opens official Google Play listing
Get HiSQL Free on Google Play