summaryrefslogtreecommitdiff
path: root/scripts/mysql_install_db.sh
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-02-19 13:09:41 +0100
committerSergei Golubchik <serg@mariadb.org>2019-02-21 15:04:03 +0100
commit65ffea3924f8d90bce5ae5188d5b44feaaaf6c7f (patch)
tree4f17b0096cc357b5accc18692299b13352a62848 /scripts/mysql_install_db.sh
parent4386d93500bea0169d0d0d0d9112f47b849d60e4 (diff)
downloadmariadb-git-65ffea3924f8d90bce5ae5188d5b44feaaaf6c7f.tar.gz
MDEV-18297 clarify mysql_install_db help text
Diffstat (limited to 'scripts/mysql_install_db.sh')
-rw-r--r--scripts/mysql_install_db.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index b71b81fbfda..34f27ad5614 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -607,6 +607,16 @@ then
echo "which will also give you the option of removing the test"
echo "databases and anonymous user created by default. This is"
echo "strongly recommended for production servers."
+ else
+ echo
+ echo
+ echo "Two all-privilege accounts were created."
+ echo "One is root@localhost, it has no password, but you need to"
+ echo "be system 'root' user to connect. Use, for example, sudo mysql"
+ echo "The second is $auth_root_socket_user@localhost, it has no password either, but"
+ echo "you need to be the system '$auth_root_socket_user' user to connect."
+ echo "After connecting you can set the password, if you would need to be"
+ echo "able to connect as any of these users with a password and without sudo"
fi
echo