How to access MariaDB remotely


Senaste ändringsdatum: 2022-07-12
Applicable Products:
  • MariaDB
  • QTS 5.0 (or later)

To remotely access MariaDB databases, you must enable TCP/IP networking.

  1. Log in to QTS as an administrator.

  2. Open the App Center.

  3. Open MariaDB.

    • Tick Enable TCP/IP networking.
  4. Open phpMyAdmin

    1. Log in as root

    2. Copy the folloiwng SQL syntax in the SQL box
      Note: '******** is the MariaDB root password

      GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '********'; 
      FLUSH PRIVILEGES;

      img

    3. Click Go to run the SQL script

  5. Go to your router’s management page/control panel.

  6. Open the MariaDB port number and forward it to the NAS.

    Note:

    • The default port number of MariaDB 5 is 3306.
    • The default port number of MariaDB 10 is 3307.

Var den här artikeln till hjälp?

Användare som tyckte detta var användbart 49% procent.
Tack för din feedback.

Berätta för oss hur vi kan förbättra artikeln:

Ge oss fler synpunkter genom att skriva dem nedan.

Välj specifikation

      Visa fler Färre

      Denna webbplats i andra länder/regioner:

      open menu
      back to top