Remote MySQL access through port 3306 is only available with DEV Hosting or VPS Hosting.

Standard Web Hosting and Reseller Hosting do not support remote database connections. MySQL databases on these plans can only be accessed locally by websites running within the same hosting account using localhost.

This security boundary prevents the MySQL port from being publicly exposed and helps protect customer databases from unauthorized connection attempts, automated attacks, and unnecessary server load.

When Do I Need Remote MySQL Access?

You need remote MySQL access when an external system must connect directly to your database through port 3306. This may include:

  • A remotely hosted application or API
  • Another web server
  • A desktop database program
  • A development computer
  • An external reporting or inventory platform
  • A database synchronization service

If your website and database are hosted within the same standard cPanel account, use localhost instead. You do not need remote access.

Remote Access With DEV Hosting or VPS Hosting

Remote MySQL access can be configured on DEV Hosting or VPS Hosting. Setup typically includes:

  • Allowing the trusted remote IP address
  • Configuring firewall access to port 3306
  • Creating a database user with the correct permissions
  • Restricting access to approved IP addresses
  • Securing the database connection

MySQL should never be opened to all public IP addresses.

Need Help Choosing a Plan?

If you need an external application, server, or computer to connect directly to MySQL, choose DEV Hosting or VPS Hosting. Open a support ticket with details about your application and the IP addresses requiring access, and we will help you choose the appropriate option.

Was this answer helpful? 41 Users Found This Useful (41 Votes)