There was a problem loading the comments.

Allowing remote MySQL Connections

Support Portal  »  Webhosting  »  Viewing Article

  Print

By default, MySQL databases on our shared hosting are only accessible from within the server itself. If you need to connect to your database from an external service (for example a Minecraft server, a VPS, or any application hosted elsewhere), you must first whitelist the remote IP address.

Follow the steps below to grant remote access:


Step 1 – Obtain the IP address of the remote service

  • If the service is a Minecraft server hosted with us, use the main IP address of that server (do not include the port).
  • If the service is hosted elsewhere, ask your provider for the public IP address that will be making the connection to the database.

Step 2 – Whitelist the IP in Plesk

  1. Log in to Plesk using the following link:
    https://plox.host/plesk-login
  2. Once logged in, go to DatabasesRemote MySQL (or Remote Database Access depending on the interface language).
  3. In the Host field, enter the IP address you obtained in Step 1.
  4. (Optional) Add a short comment so you can easily identify the rule later (e.g. “Minecraft server – Survival”).
  5. Click OK / Add to save the rule.

Remote MySQL whitelist interface

After the IP has been added, your external service should be able to connect to the database using the normal MySQL hostname, username, password, and database name.

If you continue to have connection issues after whitelisting the IP, please open a support ticket and include the remote IP you are trying to connect from.


Share via
Did you find this article useful?  
© PloxHost