debian-install-latest-maria.../set-listen-to-all-ips.sh

5 lines
142 B
Bash
Raw Permalink Normal View History

2024-02-11 13:16:05 +02:00
#!/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