mirror of https://git.envs.net/envs/ops.git
small correction
This commit is contained in:
parent
7bb065f8c6
commit
fbb87fdfda
|
@ -25,7 +25,7 @@ head_def="$head_mime\r\n$head_type"
|
|||
add_user_mysql_db() {
|
||||
mysql -u root << EOM
|
||||
CREATE DATABASE $user ;
|
||||
GRANT ALL PRIVILEGES ON '$user'.* TO '$user'@'localhost' IDENTIFIED BY '$newpw' ;
|
||||
GRANT ALL PRIVILEGES ON $user.* TO '$user'@'localhost' IDENTIFIED BY '$newpw' ;
|
||||
FLUSH PRIVILEGES ;
|
||||
EOM
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue