From ccd4eea6b8f311ed7377ab4a73c1e2d2ebc6464f Mon Sep 17 00:00:00 2001 From: root Date: Sun, 11 Feb 2024 11:16:05 +0000 Subject: [PATCH] 2 --- set-listen-to-all-ips.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 set-listen-to-all-ips.sh 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