How to Allow MySQL Remote Connections in cPanel: A Step-by-Step Guide

By default, cPanel servers don't let you connect to MySQL from outside your network for security reasons. But there may be times when you need to let people access your MySQL databases from outside the network.

This guide shows you how to use the domain-level cPanel interface to allow remote MySQL connections.

How to Turn on Remote MySQL in the Domain cPanel Interface

  1. Go to your domain's cPanel and sign in.
    You can usually get to it by going to:

    http://domainname.com/cpanel
  2. Find the Databases section on the main cPanel page.

  3. Click on Remote Database Access under Databases.

  4. Type in the hostname or IP address from which you want to allow remote MySQL access.

  5. To save the changes, click the Save button.

  6. Click the Delete button next to the entry you want to delete if you need to remove an existing host or IP address.

  7. You can either go back to the main cPanel page or log out when you're done.

Important Notes

In Conclusion

You can allow certain hosts or IP addresses to connect to your MySQL service securely by following the steps above to enable remote MySQL connections through the cPanel interface.

Our support team is always ready to help if you need more help.