/alcasar.sh |
---|
936,7 → 936,7 |
systemctl stop mysqld |
fi |
rm -rf /var/lib/mysql # to be sure that there is no former installation |
/usr/sbin/mysql-prepare-db-dir |
/usr/sbin/mysqld-prepare-db-dir > /dev/null 2>&1 |
[ -e /etc/my.cnf.default ] || cp /etc/my.cnf /etc/my.cnf.default |
$SED "s?^tmpdir.*?tmpdir=/tmp?g" /etc/my.cnf |
$SED "s?^port.*?#&?g" /etc/my.cnf # we use unix socket only |