pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases mysql57-server & mysql80-server: correct MES...
details: https://anonhg.NetBSD.org/pkgsrc/rev/48860548d4d3
branches: trunk
changeset: 458309:48860548d4d3
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Sun Sep 12 20:32:26 2021 +0000
description:
mysql57-server & mysql80-server: correct MESSAGE
As of MySQL 5.7, installations created using --initialize no longer
have an empty root password; one is generated as part of the process
and marked expired. (This message is in part simply advice to read the
documentation. However, it's possible other downstream packagers use
--initialize-insecure instead, which retains the old empty password
approach, so this could be a pkgsrc-specific detail to consider.)
diffstat:
databases/mysql57-server/MESSAGE | 18 +++++++-----------
databases/mysql80-server/MESSAGE | 18 +++++++-----------
2 files changed, 14 insertions(+), 22 deletions(-)
diffs (64 lines):
diff -r f0f68c5f87eb -r 48860548d4d3 databases/mysql57-server/MESSAGE
--- a/databases/mysql57-server/MESSAGE Sun Sep 12 18:51:50 2021 +0000
+++ b/databases/mysql57-server/MESSAGE Sun Sep 12 20:32:26 2021 +0000
@@ -1,21 +1,17 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1 2016/09/16 06:49:12 adam Exp $
+$NetBSD: MESSAGE,v 1.2 2021/09/12 20:32:26 gutteridge Exp $
-After the tables are set up and the MySQL server is running,
-please remember to set a password for the MySQL root user!
-This is done by running both:
-
- ${PREFIX}/bin/mysqladmin -u root -p password 'new-password'
- ${PREFIX}/bin/mysqladmin -h `hostname` -u root -p password 'new-password'
-
-The "Enter password:" prompt is asking for the existing password.
-As there is no existing password, just press the Return key.
+After the tables are set up and the MySQL server is running, a root
+password will be automatically generated; details can be found in the
+server logs. On creation, it is marked as expired, and must be changed
+immediately.
There is a script distributed with MySQL that can help you lock down
an installation. This script has been installed to
${PREFIX}/bin/mysql_secure_installation.
-Please see the manual and the MySQL web site for more instructions.
+For both these topics, please see the manual and the MySQL web site for
+further instructions.
===========================================================================
diff -r f0f68c5f87eb -r 48860548d4d3 databases/mysql80-server/MESSAGE
--- a/databases/mysql80-server/MESSAGE Sun Sep 12 18:51:50 2021 +0000
+++ b/databases/mysql80-server/MESSAGE Sun Sep 12 20:32:26 2021 +0000
@@ -1,21 +1,17 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1 2021/05/13 15:25:20 jdolecek Exp $
+$NetBSD: MESSAGE,v 1.2 2021/09/12 20:32:27 gutteridge Exp $
-After the tables are set up and the MySQL server is running,
-please remember to set a password for the MySQL root user!
-This is done by running both:
-
- ${PREFIX}/bin/mysqladmin -u root -p password 'new-password'
- ${PREFIX}/bin/mysqladmin -h `hostname` -u root -p password 'new-password'
-
-The "Enter password:" prompt is asking for the existing password.
-As there is no existing password, just press the Return key.
+After the tables are set up and the MySQL server is running, a root
+password will be automatically generated; details can be found in the
+server logs. On creation, it is marked as expired, and must be changed
+immediately.
There is a script distributed with MySQL that can help you lock down
an installation. This script has been installed to
${PREFIX}/bin/mysql_secure_installation.
-Please see the manual and the MySQL web site for more instructions.
+For both these topics, please see the manual and the MySQL web site for
+further instructions.
===========================================================================
Home |
Main Index |
Thread Index |
Old Index