Files
dewemoji/tableplus-ssh-tunnel-guide.md
2026-02-12 00:52:40 +07:00

71 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# TablePlus (Paid) or Sequel Ace (Free) + SSH Tunnel Guide (MySQL)
This is a complete, stepbystep guide to access your **internal Coolify MySQL** from your Mac using **SSH tunnel + TablePlus or Sequel Ace**.
## 1) Install a GUI client
Choose one:
### Option A — Sequel Ace (Free)
```bash
brew install --cask sequel-ace
```
### Option B — TablePlus (Trial/paid)
Pick one method:
**Option A — Homebrew**
```bash
brew install --cask tableplus
```
**Option B — Download App**
- Download from TablePlus website and install normally.
## 2) Create the SSH tunnel (Mac Terminal)
Replace `USER` and `YOUR_SERVER` with your SSH credentials:
```bash
ssh -N -L 3307:127.0.0.1:3306 USER@YOUR_SERVER
```
Keep this terminal **open** while you use TablePlus.
If you close it, the tunnel disconnects.
## 3) Open TablePlus or Sequel Ace and create connection
In the app:
1) Click **Create a new connection**
2) Choose **MySQL**
3) Fill in:
- **Name:** Dewemoji (or anything)
- **Host:** `127.0.0.1`
- **Port:** `3307`
- **User:** `dewesql` (or your MySQL user)
- **Password:** (your MySQL password)
- **Database:** `dewemoji` (or your DB name)
4) Click **Test** → should be green
5) Click **Connect**
## 4) Done
You now have full GUI access to the internal MySQL.
## Troubleshooting
**“Connection refused”**
- Tunnel not running (step 2). Keep it open.
**“Access denied”**
- Wrong MySQL username/password.
**No tables**
- Wrong database name.
---
If you want, I can add a short “quick commands” section for `mysql` CLI too.