Skip to content

Commit 5eb59bc

Browse files
committed
drop user zstack_ui if exists
1 parent 10d2aae commit 5eb59bc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

conf/deployuidb.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ fi
3232

3333
hostname=`hostname`
3434
mysql --user=$user --password=$password --host=$host --port=$port << EOF
35+
grant usage on *.* to 'zstack_ui';
3536
drop user zstack_ui;
3637
create user 'zstack_ui' identified by "$zstack_ui_db_password";
3738
grant usage on *.* to 'zstack_ui'@'localhost';

0 commit comments

Comments
 (0)