The site is located on the VPS, the base is very large 1GB, MySQL MariaDB is deployed on the terminal server, how can I connect the database to the site now?
The network to connect has one IP. I understand that you need to specify instead of localhost - IP: 3306, but there is no connection. I read that you can open MySQL on the Internet for a specific IP, but how to do it, there are no instructions.
How to connect to MySQL site linked?