Loading...

Knowledge Base

How to Enable Remote MySQL Access in cPanel

When you want to connect to your MySQL database from outside your hosting server. This article explains how to allow or remove remote MySQL access in cPanel.

This feature allows remote hosts (servers or web applications) to access MySQL databases hosted on your account because Remote MySQL connections are disabled by default in cPanel servers as they are considered a potential security threat.
 

Managing Remote MySQL via cPanel


Following are a step by step guide on how to allow remote access to a MySQL database in your cPanel:
  1. Log in to the domain’s cPanel interface using valid credentials.
  2. Go to the Databases section and click Remote MySQL.
 
wse_image1
 

To allow remote hosts to access MySQL databases on your account

 
  • Enter the fully qualified domain name (FQDN)/ an IPv4 address/ an IPv6 address in the Host text box.
  • Enter a description for the remote host in the Comment text box (Optional) and click Add Host.
 
 
wse_image1
 

To Remove Access Host


To deny access to a host having access to the databases, click the Delete link from the list of Access hosts. 
 
wse_image1

Loading...