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 127.0.0.1 to 0.0.0.0 so that MariaDB server accepts connections on all host IPv4 interfaces.


Restart MariaDB Server

sudo systemctl restart mariadb

0 komentar:

Post a Comment

Note: Only a member of this blog may post a comment.