5 lines
142 B
Bash
Executable File
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
|