debian-install-latest-maria.../set-listen-to-all-ips.sh
2024-02-11 11:16:05 +00:00

5 lines
142 B
Bash
Executable File

#!/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