diff --git a/set-listen-to-all-ips.sh b/set-listen-to-all-ips.sh new file mode 100755 index 0000000..f986777 --- /dev/null +++ b/set-listen-to-all-ips.sh @@ -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