Connecting to MySQL via SSH on Wordify
Prerequisites
MySQL GUI tool (e.g., MySQL Workbench, TablePlus, HeidiSQL, etc.)
SSH connection details from Wordify (found in Site > Hosting > SSH/SFTP menu)
For Windows users: PuTTY SSH client (download from https://putty.org)
Setting Up SSH Port Forwarding
Windows Users (PuTTY)
Download and install PuTTY
Open PuTTY and in the Session panel:
Enter your Wordify hostname in "Host Name"
Ensure port is set correctly (usually 22)
Give the session a name and click "Save"
In the left menu, go to: Connection > SSH > Tunnels
Source port: 3306
Destination: 127.0.0.1:3306
Click "Add"
Make sure "Local" and "Auto" are selected
Go back to Session, save your settings
Click "Open" to start the tunnel
Log in with your SSH credentials when prompted
macOS Users (Terminal)
Open Terminal
Enter the following command:
ssh -N -L 3306:127.0.0.1:3306 YOUR_SSH_USER@YOUR_WORDIFY_HOST
Replace:
YOUR_SSH_USER: Your SSH username from Wordify
YOUR_WORDIFY_HOST: Your site's SSH hostname
Press Enter and provide your SSH password when prompted
The terminal will appear to hang - this is normal! It means the tunnel is active
Connecting to MySQL
Once your SSH tunnel is active, you can connect using any MySQL GUI tool. The connection details will be the same regardless of your operating system:
Host: 127.0.0.1
Port: 3306
Username: Your MySQL username
Password: Your MySQL password
MySQL Workbench Setup
Click "+" to create a new connection
Enter a connection name
Set hostname as: 127.0.0.1
Port: 3306
Enter your MySQL username and password
Test the connection
Save and connect
TablePlus Setup
Click "Create a new connection"
Select MySQL
Fill in the details:
Name: Your choice
Host: 127.0.0.1
Port: 3306
User: Your MySQL username
Password: Your MySQL password
Test the connection and save
Troubleshooting
Connection Refused
Verify your SSH tunnel is still running
Check if another program is using port 3306
Confirm MySQL is running on the remote server
Check the connection isn't being blocked by local security software e.g. Windows Defender
Access Denied
Verify your MySQL credentials
Ensure your MySQL user has proper permissions
Check if the MySQL user is allowed to connect from '127.0.0.1'
SSH Connection Issues
Verify SSH credentials from Wordify dashboard
Double-check your SSH password
Using a Different Port
If port 3306 is already in use on your computer:
Windows (PuTTY)
In PuTTY's SSH Tunnels settings, use a different source port (e.g., 3307)
Update your MySQL GUI tool to use the same port number
macOS (Terminal)
bashCopyssh -N -L 3307:127.0.0.1:3306 YOUR_SSH_USER@YOUR_WORDIFY_HOST
Then connect using port 3307 in your MySQL GUI tool
Security Notes
Keep your SSH tunnel active only when needed
Never share your SSH or MySQL credentials
Keep your passwords secure
Getting Help
If you encounter issues:
Check the Site > Hosting > SSH/SFTP menu for current connection details
Contact Wordify support through your dashboard
Remember Wordify's 1-hour max support SLA for assistance