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

