How to enable MySQL remote connections in cPanel

For security reasons, cPanel servers disable remote MySQL connections by default. However, there may be instances where you need to enable this feature. This guide will walk you through the process of enabling remote MySQL connections using the Web Host Manager (WHM) and the domain-level cPanel interface.

Enabling Remote MySQL in the Domain cPanel Interface

  1. Log in to your domain's cPanel interface. You can usually access this by navigating to
  2. On the main page, locate the section labeled 'Databases'.
  3. Within the 'Databases' section, find and click on the link or button labeled 'Remote MySQL'.
  4. Enter the hostname or IP address that you want to grant remote MySQL access to, then click the 'Save' button.
  5. If you need to remove a host or IP address from this list, simply click the 'Delete' button next to the corresponding entry.
  6. Once you've made your changes, you can return to the main page of the cPanel interface or log out if you've completed your tasks.

Please note that we reserve the right to block all inbound MySQL connections to prevent attacks on the mysqld service. If you're unable to connect, please contact our support team so we can add your IP address to our whitelist.

By following these steps, you can enable remote MySQL connections in your cPanel interface, allowing specified hosts to connect to your MySQL service.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

 How to create 'Snapshot Backups' via the JetBackup interface

Backups are taken of all accounts on our shared and reseller services daily. However, we do...

 Connect to your server via SSH

SSH allows secure file transfer and remote logins over the internet. Your connection via SSH is...

 How to force your site to use SSL (HTTPS) using

First of all, you will need to install an SSL certificate to your siteOnce your certificate is...

 How do I change PHP versions, or change my PHP settings / config?

The process of setting your PHP version and the 'variables' (such as memory_limit values) differs...

 How do I install a free SSL via cPanel?

Installing an SSL certificate in cPanel is easy! Best of all, it's free with WebGee!Important:...

Powered by WHMCompleteSolution