start mariadb

This commit is contained in:
王健辉 2020-03-19 18:46:21 +08:00
parent ac38e2e254
commit d550a45734

View File

@ -225,6 +225,8 @@ then
SQLROOTPW=`sed -n 's/password=//p' /root/.my.cnf`
else
DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-server
systemctl start mariadb
systemctl enable mariadb
SQLROOTPW=$(pwgen)