diff --git a/install/vst-install.sh b/install/vst-install.sh index 1d2aca60c..83feb23f3 100644 --- a/install/vst-install.sh +++ b/install/vst-install.sh @@ -530,6 +530,7 @@ fi mysqladmin -u root password $mpass echo -e "[client]\npassword='$mpass'\n" > /root/.my.cnf +chmod 600 /root/.my.cnf mysql -e "DELETE FROM mysql.user WHERE User=''" mysql -e "DROP DATABASE test" mysql -e "DELETE FROM mysql.db WHERE Db='test' OR Db='test\\_%'"