Question about the MariaDB connection

Good morning everyone.

I have an issue with connecting remotely to te MariaDB.
After the basic main setup, I have changed the Privileges to the whole subnet.

GRANT ALL PRIVILEGES ON librenms.* TO ‘librenms’@’%’ IDENTIFIED BY ‘****’ WITH GRANT OPTION;
exit

But when I try to open a connection remotely, it doesn’t work.

librenms@librenmspollereu:~$ mysql -u librenms -p -h 172.31.20.16
Enter password:
ERROR 2002 (HY000): Can’t connect to MySQL server on ‘172.31.20.16’ (115)

Does anyone have an idea?

Thanks in advance!

This has been solved.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.