Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 1954 → Rev 1955

/alcasar.sh
937,6 → 937,11
$SED "s?^tmpdir.*?tmpdir=/tmp?g" /etc/my.cnf
/usr/bin/systemctl start mysqld.service
sleep 4
is_active=`systemctl is-active mysqld`
if [ "$is_active" != "active" ]
then
sleep 4 # we need to wait again (slow machine)
fi
mysqladmin -u root password $mysqlpwd
MYSQL="/usr/bin/mysql -uroot -p$mysqlpwd --exec"
# Secure the server