Valid for versions 82 through the latest version
Last modified: November 30, 2022
Overview
This interface allows you to permit remote hosts (servers) to access MySQL® databases on your server, or to access a remote MySQL server that you configured via WHMs Manage MySQL Profiles interface (WHM » Home » SQL Services » Manage MySQL Profiles). The system applies this list of servers to every cPanel user and every MySQL user that a cPanel user owns.
- cPanel users cannot permanently remove remote hosts that you add through this interface. cPanel accounts can temporarily remove these remote hosts via cPanels Remote MySQL interface (cPanel » Home » Databases » Remote MySQL). However, the system restores these remote hosts when the user accesses cPanels MySQL Databases interface (cPanel » Home » Databases » MySQL Database) or the system administrator clicks the click here link in the Additional MySQL Access Hosts interface.
- cPanel accounts can add more remote hosts to their account and their MySQL users via cPanels Remote MySQL interface (cPanel » Home » Databases » Remote MySQL).
- The system does not allow system accounts and
root
-level users that are not cPanel accounts to use this functionality.
Configure remote access to MySQL
To configure the list of remote hosts with access to your MySQL databases, perform the following steps:
- In the text box, enter the hostnames of remote hosts that you wish to access your servers MySQL databases.
- You may enter the hostnames as fully qualified domain names (FQDNs) or IP addresses (for example,
host.example.com
or192.168.0.20
).Warning:You must specify FQDNs in lowercase letters.
- You may enter the hostnames as fully qualified domain names (FQDNs) or IP addresses (for example,
- Click Save.
To add the hostnames to each users access list, perform one of the following actions:
- Click click here to automatically add the hostnames to each cPanel users access list.
- Ask your cPanel users to access cPanels Remote MySQL interface (cPanel » Home » Databases » Remote MySQL) to add the hosts.
Troubleshooting
If you experience issues when you attempt to add additional remote hosts that can access MySQL databases on your server, read our Troubleshoot MySQL Profiles documentation.