#!/bin/sh
sed -i '/^skip-networking/c\#skip-networking' /etc/my.cnf
sed -i '/^bind-address/c\bind-address         = 0.0.0.0' /etc/my.cnf
systemctl restart mysqld

