diff options
author | Marek Kulik <mkulik@redhat.com> | 2021-08-25 09:18:29 +0200 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2021-08-25 18:37:36 +1000 |
commit | c45aeeab38125e59c84c2d7a78e8465e0964e5b5 (patch) | |
tree | fc4b3f0ba64b41824e009b86b3e3dfb54785b4c4 /scripts/mysql_setpermission.sh | |
parent | 683f91a287c25ee3175013a69fb36925dd656fea (diff) | |
download | mariadb-git-c45aeeab38125e59c84c2d7a78e8465e0964e5b5.tar.gz |
Remove FLUSH PRIVILEGES from mysql_setpermission
FLUSH PRIVILEGES hasn't been needed for very many years.
Diffstat (limited to 'scripts/mysql_setpermission.sh')
-rw-r--r-- | scripts/mysql_setpermission.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/mysql_setpermission.sh b/scripts/mysql_setpermission.sh index 01b3d5e7e90..7c0ef575db7 100644 --- a/scripts/mysql_setpermission.sh +++ b/scripts/mysql_setpermission.sh @@ -283,7 +283,6 @@ sub addall { $sth = $dbh->do("REVOKE ALL ON $db.* FROM \'$user\'\@\'$host\'") || die $dbh->errstr; } } - $dbh->do("FLUSH PRIVILEGES") || print STDERR "Can't flush privileges\n"; print "Everything is inserted and mysql privileges have been reloaded.\n\n"; } |