Whitelist Your IP in cPanel for Remote MySQL Access
This article will teach you how to whitelist your IP to allow remote MySQL connections for Shared, Reseller, VPS/cPanel, and Linux Dedicated Servers.
Allowing remote MySQL connections is often done to enable a program on your personal computer (such as Adobe Dreamweaver) to access the database on the server.
By default, all IPs are blocked and must be added to an access list. Below are the instructions for whitelisting your IP address within cPanel.
- Log in to your cPanel.
- Scroll down to the Databases section.
- Click on the Remote MySQL icon.
- In the Host field, enter the IP address of the computer that will be making the remote connection.
- Click the Add Host button.
How can I find out my computer's IP address?
To find your computer's IP Address, use Google to search for 'what is my IP' or go to https://www.google.com/search?q=what+is+my+ip. Google will display your IP Address in the search results. Please note this feature is only available in English.
Wait a minute; my IP constantly changes.
Okay, you have a dynamic IP address. Therefore, every time you go online, or every once in a while, your IP changes. You have a few options here. The most secure would be to update your IP in Remote MySQL every time your IP changes. However, you do have other options available. You could enter % (a percentage sign) in the Add Access Hosts text field. This will allow any IP to connect to your databases remotely. Another option: Let's say the first two parts of your IP never change. Then, you could enter 93.138.%.%, where the first two parts are your actual IP address numbers.
I enabled remote access; now what?
You will need a third-party application to access MySQL remotely. Some are free, and some cost money. For a list of applications, you may want to visit our page on: