mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
600 on my.cnf
This commit is contained in:
parent
ab09d1459d
commit
6fd8a6b3ea
1 changed files with 1 additions and 0 deletions
|
@ -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\\_%'"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue