Remote Database Access
Valid for versions 120 through the latest version
Version:
120
Last modified: May 20, 2024
Looking for this interface?
Your hosting provider can enable or disable this interface in WHM's Feature Manager interface (WHM >> Home >> Packages >> Feature Manager).
Overview
This feature allows remote hosts (servers) to access MySQL® or MariaDB® databases on your account. This is useful, for example, if you wish to allow shopping cart or guestbook applications on other servers to access your databases.
In cPanel & WHM version 118 and earlier, we titled this interface Remote MySQL®.
Your hosting provider may add remote hosts to this list at the server level. If you see a hostname or IP address that you do not recognize, or remove a hostname or IP address that reappears later, contact your hosting provider.
Add Access Host
To specify remote hosts that can access MySQL or MariaDB databases on your account, perform the following steps:
- Enter the host’s name in the Host text box.
Notes:
- You may enter a hostname, IPv4 address, or IPv6 address.
- You may use the percentage sign character (
%
) as a wildcard. For example, to allow access from all IP addresses that begin with192.68.0
, enter192.68.0%
. - If using MySQL, you must follow MySQL rules to use a range of IP addresses. For more information, you can read MySQL’s documentation for Specifying Account Names.
- Enter a description for the remote host in the Comment text box.
Notes:
- You must limit this description to 255 ASCII characters or fewer.
- This step is optional.
- Click Add Host.
Manage Access Hosts
This section of the database lists the remote hosts on your account and allows you to delete each host.
Edit a description
To edit the description for a remote host, enter the new text and click Update. A message of success will appear.
Delete an access host
To deny database access to a remote host, perform the following steps:
- Click Delete next to the host’s name or IP address. A confirmation message will appear.
- Click Remove Access Host. A message of success will appear.