summaryrefslogtreecommitdiff
path: root/scripts/mysql_install_db.sh
diff options
context:
space:
mode:
authorjperkin@production.mysql.com <>2007-10-04 12:21:51 +0200
committerjperkin@production.mysql.com <>2007-10-04 12:21:51 +0200
commit09560c65392a368a1e77359908eda66291eaf963 (patch)
tree14ec3c6bac81a7a2b08c0e90183e843d94b35622 /scripts/mysql_install_db.sh
parent6598c8dc2dd07ef305e7bcfb830cdadf0d2d1e2e (diff)
parent583a3ef31d0a0058af130152606b2a2cc9cdee56 (diff)
downloadmariadb-git-09560c65392a368a1e77359908eda66291eaf963.tar.gz
Merge production.mysql.com:/usersnfs/jperkin/bk/build/5.0
into production.mysql.com:/usersnfs/jperkin/bk/build/5.1
Diffstat (limited to 'scripts/mysql_install_db.sh')
-rw-r--r--scripts/mysql_install_db.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/mysql_install_db.sh b/scripts/mysql_install_db.sh
index 2af1979adda..6f147c45f3b 100644
--- a/scripts/mysql_install_db.sh
+++ b/scripts/mysql_install_db.sh
@@ -407,7 +407,16 @@ then
echo "To do so, start the server, then issue the following commands:"
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"
+ echo "databases and anonymous user created by default. This is"
+ echo "strongly recommended for production servers."
+ echo
echo "See the manual for more instructions."
+ echo
if test "$in_rpm" -eq 0 -a "$source_install" -eq 0
then