How to access MariaDB remotely
Applicable Products:
- MariaDB
- QTS 5.0 (or later)
To remotely access MariaDB databases, you must enable TCP/IP networking.
-
Log in to QTS as an administrator.
-
Open the App Center.
-
Open MariaDB.
- Tick Enable TCP/IP networking.
-
Open phpMyAdmin
-
Log in as root
-
Copy the folloiwng SQL syntax in the SQL box
Note: '******** is the MariaDB root passwordGRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '********';
FLUSH PRIVILEGES; -
Click Go to run the SQL script
-
-
Go to your router’s management page/control panel.
-
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.