MariaDB 10 Synology server updates the database, updating mandatory to change the password after the completion (password rules, strength requirements change), change the password and can completely unable to connect remote (Navicat), gogs can not access a range of issues.
This is mainly due to permission issues mysql leads, access permissions with the following command:
mysql> grant all privileges on *.* to 'root'@'%' identified by "password" with grant option;
mysql> flush privileges;
Navicat connection inside edit, modify, update the password.
Gogs need to modify the password database configuration items that profile "app.ini" in.