diff options
author | Daniel Black <daniel@mariadb.org> | 2021-06-03 15:09:04 +1000 |
---|---|---|
committer | Anel Husakovic <anel@mariadb.org> | 2021-07-06 11:08:57 +0200 |
commit | c4a0d3ef24759a02948931d2a3d00f8099f6cbdb (patch) | |
tree | 6a1fbd194586eb44eddf2f5164ad6b7d7ac46260 | |
parent | 11c5c1f79555b0d50dd5fb69dae33637f6dec93e (diff) | |
download | mariadb-git-c4a0d3ef24759a02948931d2a3d00f8099f6cbdb.tar.gz |
no need to reload privileges now
-rw-r--r-- | scripts/mysql_secure_installation.sh | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/scripts/mysql_secure_installation.sh b/scripts/mysql_secure_installation.sh index 22447dcabe2..d4115aac489 100644 --- a/scripts/mysql_secure_installation.sh +++ b/scripts/mysql_secure_installation.sh @@ -437,17 +437,6 @@ EOTEST return 0 } -reload_privilege_tables() { - do_query "FLUSH PRIVILEGES;" - if [ $? -eq 0 ]; then - echo " ... Success!" - return 0 - else - echo " ... Failed!" - return 1 - fi -} - interrupt() { echo echo "Aborting!" @@ -611,28 +600,6 @@ else fi echo - -# -# Reload privilege tables -# - -echo "Reloading the privilege tables will ensure that all changes made so far" -echo "will take effect immediately." -echo - -while true ; do - echo $echo_n "Reload privilege tables now? [Y/n] $echo_c" - read reply - validate_reply $reply && break -done - -if [ "$reply" = "n" ]; then - echo " ... skipping." -else - reload_privilege_tables -fi -echo - cleanup echo |