diff options
author | Sergei Golubchik <serg@mariadb.org> | 2021-04-27 11:19:10 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2021-04-27 18:21:01 +0200 |
commit | 883b723d7cc38c04f48395c1cf5512900c7c2705 (patch) | |
tree | bc7ddd96652fedc0f209eed1ddf7558235530377 /scripts | |
parent | b862377c3e9a6818bc2d5265c19edeee79a293fc (diff) | |
download | mariadb-git-883b723d7cc38c04f48395c1cf5512900c7c2705.tar.gz |
MDEV-25326 mysql_install_db help text incomplete
encourage the use of mysql_secure_installation,
that can always set the root password correctly for all root accounts,
no matter how many are there and what the structure of privilege tables is
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysql_install_db.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh index 0326d4fcd7d..c6129659151 100644 --- a/scripts/mysql_install_db.sh +++ b/scripts/mysql_install_db.sh @@ -556,12 +556,8 @@ then echo echo echo "PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !" - echo "To do so, start the server, then issue the following commands:" + echo "To do so, start the server, then issue the following command:" echo - echo "'$bindir/mysqladmin' -u root password 'new-password'" - echo "'$bindir/mysqladmin' -u root -h $hostname password 'new-password'" - echo - echo "Alternatively you can run:" echo "'$bindir/mysql_secure_installation'" echo echo "which will also give you the option of removing the test" |