Databases

Enable remote MySQL access

Enable remote MySQL access

By default your database only accepts connections from the server itself, which is the safest setup. If you need to connect from an external tool or another server, you can enable remote access.

Steps

  1. Open your server and go to the Databases section.
  2. Enable remote access for the database. The panel configures MariaDB to accept external connections.
  3. Make sure your firewall allows the database port (3306) — ideally only from the specific IP that needs it.

Security warning

Exposing a database to the internet increases risk. Only enable remote access when you truly need it, restrict the firewall rule to known IP addresses, and always use a strong password. Turn it off again when you no longer need it.

Better alternative

For occasional admin work, phpMyAdmin over HTTPS is safer than opening the database port to the world.

Articole similare