933,8 → 933,9 |
{ |
rm -rf /var/lib/mysql # to be sure that there is no former installation |
[ -e /etc/my.cnf.default ] || cp /etc/my.cnf /etc/my.cnf.default |
$SED "s?^#bind-address.*?bind-address=127.0.0.1?g" /etc/my.cnf |
$SED "s?^tmpdir.*?tmpdir=/tmp?g" /etc/my.cnf |
$SED "s?^port.*?#&?g" /etc/my.cnf # we use unix socket only |
$SED "s?^plugin-load.*?#&?g" /etc/my.cnf.s/feedback.cnf # remove the feedback plugin (ALCASAR doesn't report anything !) |
/usr/bin/systemctl start mysqld.service |
nb_round=1 |
while [ ! -f /var/run/mysqld/mysqld.pid ] && [ $nb_round -ne 10 ] # we wait until mariadb is on |