Jaap Marcus 4 лет назад
Родитель
Сommit
ac65b8cfba
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      install/hst-install-debian.sh

+ 1 - 0
install/hst-install-debian.sh

@@ -1518,6 +1518,7 @@ if [ "$mysql" = 'yes' ]; then
     systemctl start mysql >> $LOG
     systemctl start mysql >> $LOG
     check_result $? "mariadb start failed"
     check_result $? "mariadb start failed"
 
 
+    mpass=$(gen_pass)
     echo -e "[client]\npassword='$mpass'\n" > /root/.my.cnf
     echo -e "[client]\npassword='$mpass'\n" > /root/.my.cnf
     chmod 600 /root/.my.cnf
     chmod 600 /root/.my.cnf