How to Set Up Remote MySQL Access

Setting up a remote MySQL connection for your databases at Hostinger

Updated over a week ago

The Remote MySQL feature access allows remote hosts (servers) to manage your databases. To set it up, first, you need to allow the desired remote IP to connect to your database. This can be done by accessing Websites Manage, searching for Remote MySQL on the left sidebar, and clicking on it:

The RemoteMySQL menu option

In the newly opened window, you will be able to create the new connection by filling in the details:

  • IP (IPv4 or IPv6) - the IP address from which the remote connection will be initiated

  • Any Host - click this checkbox to allow the connection from any IP. This will add a % symbol in the IP field

  • Database - select the database which will be remotely accessed

When all is good to go, click on Create:

The Create button to create a new remote database connection

You can find the MySQL server hostname on top of the Create remote database connection section:

Where to find the MySQL server hostname or IP

The default port for remote connections is 3306 💡

After the remote access is created, you will be able to remove it if needed on the Remote MySQL section:

That's it! Now you know how to set up and manage remote access to your databases 😊

Did this answer your question?