Comments - I couldn't find bind-address to comment it in my.cnf file to allow remote db access
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
The problem could also be in the grants - see Configuring MariaDB for Remote Client Access.