Connecting to databases remotely
Databases
Updated Jan 18, 2026
Remote MySQL Access
Connect to your database from external applications.
Enabling Remote Access
- Log in to cPanel
- Go to Remote MySQL
- Enter the IP address to allow
- Click Add Host
Finding Your IP
Visit whatismyip.com to find your current IP address.
Connection Details
| Setting | Value |
| Host | Your server IP or domain |
| Port | 3306 |
| Database | cpuser_dbname |
| Username | cpuser_dbuser |
| Password | Your database password |
Using MySQL Workbench
- Download MySQL Workbench
- Click + to add connection
- Enter connection details
- Test Connection
- Click OK
Security Considerations
- Only allow specific IPs, not all (%)
- Use strong database passwords
- Remove access when no longer needed
- Consider SSH tunnel for sensitive data
Was this article helpful?