This commit is contained in:
root 2024-02-11 11:16:05 +00:00
parent be7ae68590
commit ccd4eea6b8

4
set-listen-to-all-ips.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
sed -i -e "s@^bind-address.*@bind-address = 0.0.0.0@g" /etc/mysql/mariadb.conf.d/50-server.cnf
systemctl restart mariadb