cPanel Remote Database Access - Guide and access policy

What is cPanel Remote Database Access?

Remote Database Access in cPanel lets you connect to a MySQL/MariaDB database in your account from a computer or application outside the server. This is useful for:

  • Developers who want to connect local tools (e.g. MySQL Workbench, HeidiSQL).

  • External applications that need access to your database.

  • Automations that run outside the hosting server.


Security policy for Remote Database Access

For security reasons, Konet applies strict restrictions on remote database access:

  • Remote access is not open by default.

  • It is granted only to Greek static IP addresses.

  • You need to submit a request to support to have it enabled.

  • If your IP changes (dynamic IP), access is not possible.

  • For complete freedom of access, we recommend a VPS or Dedicated Server, where you have root/SSH privileges.

This ensures that your databases are not exposed to international brute-force attacks and that the security of the shared environment is maintained.


How to set up Remote Database Access in cPanel

Step 1: Submit a request

  • Contact support, stating your Greek static IP.

  • After approval, your IP will be added to the allowed hosts.

Step 2: Setup in cPanel

  1. Log in to cPanel.

  2. Go to Remote MySQL.

  3. In the Add Access Host field, type your IP.

  4. Click Add Host.

  5. You will see your IP in the list of allowed hosts.

Step 3: Connect from a local tool

  • Use the database details you have created:

    • Hostname: your domain or the server IP.

    • Database Name: as shown in cPanel (e.g. user_dbname).

    • Username: the database user (e.g. user_dbuser).

    • Password: the user's password.

    • Port: 3306.


Practical examples

Example 1: Connecting from MySQL Workbench

  1. Enter the Hostname (domain/IP).

  2. Username, Password, Database.

  3. Port 3306.

  4. If your IP has been registered, it will connect normally.

Example 2: External ERP/CRM application

  • Register the IP of the server where the application runs.

  • Make sure it has been approved by support.


Tips and best practices

  • Use only a static IP – if you have a dynamic IP, you will not have stable access.

  • Do not grant All Privileges to users used for remote access, unless it is necessary.

  • Use strong passwords and change them regularly.

  • Avoid connecting from public Wi-Fi networks, even if your IP is static.

  • For freedom and development: if you constantly need remote DB access, prefer a VPS/Dedicated server.


Frequently Asked Questions (FAQ)

Can I connect from any country?

No. Remote access is allowed only from Greek static IPs.

What if my IP changes?

Remote access cannot be used with a dynamic IP. As an alternative, we recommend a VPN that provides a Greek static IP.

Why is it allowed only for Greek IPs?

To minimize the risk of attacks from international botnets and to increase the security of the shared environment.

Is there an extra charge?

No, but support approval is required and the IP must meet the requirements.


Conclusion

cPanel Remote Database Access is a useful tool for developers and applications, but for security reasons it is provided only to Greek static IPs and only upon request to support. For complete freedom and development, users can choose a VPS or Dedicated Server, where they have full root access.

Was this article helpful?

Related service Konet Web Hosting cPanel, LiteSpeed and automatic backups on every plan.

Related articles