Sunday, May 14, 2023

Debian 11: Enable remote access MariaDB

 Configure MariaDB

By default, MariaDB allows connection only from localhost, 

sudo nano /etc/mysql/mariadb.conf.d/50-server.cnf

Change the value of the bind-address from to so that MariaDB server accepts connections on all host IPv4 interfaces.

Restart MariaDB Server

sudo systemctl restart mariadb

No comments:

Post a Comment