summaryrefslogtreecommitdiff
path: root/scripts/mysql_install_db.sh
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-05-10 10:01:15 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-05-10 10:01:15 +0300
commit0e1437e147e8c7164600a0d352361c54c64eb12c (patch)
treed780b2f9e955e71e6d87424649ae11e93816cd90 /scripts/mysql_install_db.sh
parent35977e81f967ebe10db8ee40703801e693b2a0f4 (diff)
parent8c73fab7f7622b58062955fba5b5666643fa46a0 (diff)
downloadmariadb-git-0e1437e147e8c7164600a0d352361c54c64eb12c.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'scripts/mysql_install_db.sh')
-rw-r--r--scripts/mysql_install_db.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 14ef6840d6d..5f183afe8fc 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -611,8 +611,12 @@ 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 command:"
+ echo "To do so, start the server, then issue the following commands:"
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"