Getting started · Let.com knowledge base

Remote MySQL Access in cPanel

Updated 2024-08-222 min read

Hosting documentation. Account access is coming soon. Always use the server details and nameservers assigned to your own account.

Note: It is often not recommended to allow access to MySQL remotely for security reasons. In most cases you should use PhpMyAdmin in your cPanel to access MySQL.   
              
Adding Access for your IP

1. Login to cPanel

2. Click Remote MySQL in the DATABASES section.

blobid0.png

3. In the Host text box under Add Access Host, enter the IP of the computer you want to have remote access. Additionally, you can include an optional comment which will describe the entity you are trying to add.

blobid3.png

4. Click Add Host.

blobid4.png

 

 

Accessing Remote Database with a MySQL Program

To connect to MySQL remotely, you should use a program like MySQL Workbench or Sequel Pro. Just about any MySQL program that allows remote connections will work.

Here is the information you will usually need to connect to MySQL:
Hostname: Your cPanel IP or domain.com, where domain.com is your domain name

Port: 3306 

Username: Either your cPanel username or the MySQL database username
Password: The password that corresponds with the username you chose above.

Schema: The name of the database you want to access.

  

   

Removing Remote MySQL Access

If you later decide to remove access to an IP, you can go back to Remote MySQL in your cPanel at any time to delete the IP. Just click the Delete button under Manage Access Hosts

blobid5.png

 

 

Did this point you in the right direction?

Talk to the Let.com team

Frequently asked questions

What you need to know.

Talk to our team

What must be allowed before a computer connects to MySQL remotely?

Add that computer’s IP address in Remote MySQL under cPanel’s Databases section. The guide allows an optional comment to identify the access host.

What connection information does a MySQL application need?

The guide lists the host, port, username, matching password and database or schema name. Use the details of the database you intend to access.

Can I remove a previously allowed remote host?

Yes. Return to Remote MySQL and delete the IP from Manage Access Hosts. For browser-based database work, the article points to phpMyAdmin as an alternative. Basics of phpMyAdmin.

Let.com

Coming soon.

Account sign-up, log-in and checkout are not available yet. You can explore our products and compare plans while we get everything ready.

Compare plans