Skip to main content

How to Set Up a Remote MySQL Database Connection

Remotely connecting to a MySQL database allows you to access and manage your databases from external servers or local machines. This is especially useful for developers, administrators, or applications that require off-site database access. Your Account Manager simplifies this process by providing a secure and user-friendly interface to configure remote MySQL access. If connecting from your home computer, you need a MySQL client like Navicat, phpMyAdmin, Workbench, or Dbeaver.

  • Remote MySQL Database Connection
  • Remove or Edit Remote Access Host
  • Summary

Remote MySQL Database Connection

To enable remote MySQL access, you must add the connecting computer’s IP address as an Access Host. Here's how:

  1. Log in to your Bluehost Account Manager.

  2. In the left-hand menu, click Websites.

  3. Click the MANAGE button located next to the website you want to manage. Bluehost Account Manager - Website Manage button

  4. In the Overview page, click Databases to open the Database Management panel. Bluehost Websites Overview Tab - Databases

  5. Under Database Management , go to the REMOTE tab. database-management-databases-remote

  6. In the Remote MySQL Access section, click ADD HOST. mysql-remote-add-host

  7. Enter the IP address in the Enter IP field. Optionally, add a description.

  8. Click ALLOW ACCESS. remote-mysql-allow-access

Once completed, your remote connection should be active.

Remove or Edit a Remote Access Host

To remove or edit a host from accessing databases on your server in Account Manager, follow these steps:

To Edit:

  1. Locate the Host/IP address.

  2. Click the ellipsis icon (⋮). remote-mysql-edit

  3. Select Edit Host. remote-mysql-edit-host

  4. Make changes and click SAVE. remote-mysql-edit-host-save

To Remove:

  1. Locate the Host/IP address.

  2. Click the ellipsis icon (⋮). remote-mysql-edit

  3. Select Delete Host. remote-mysql-delete-host

  4. Confirm by clicking DELETE. remote-mysql-delete-host-confirm

If your IP address is dynamic (changes periodically), you’ll need to update it in the Remote MySQL settings whenever it changes.

Summary

Setting up a Remote MySQL Database Connection through your Account Manager ensures secure and efficient access to your databases from external sources. Whether you're adding a new access host, editing an existing one, or managing dynamic IPs, this guide provides all the essential steps to keep your remote connections running smoothly.