pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases



Module Name:    pkgsrc
Committed By:   gutteridge
Date:           Sun Sep 12 20:32:27 UTC 2021

Modified Files:
        pkgsrc/databases/mysql57-server: MESSAGE
        pkgsrc/databases/mysql80-server: MESSAGE

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/mysql57-server/MESSAGE
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/mysql80-server/MESSAGE

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/mysql57-server/MESSAGE
diff -u pkgsrc/databases/mysql57-server/MESSAGE:1.1 pkgsrc/databases/mysql57-server/MESSAGE:1.2
--- pkgsrc/databases/mysql57-server/MESSAGE:1.1 Fri Sep 16 06:49:12 2016
+++ pkgsrc/databases/mysql57-server/MESSAGE     Sun Sep 12 20:32:26 2021
@@ -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.
 
 ===========================================================================

Index: pkgsrc/databases/mysql80-server/MESSAGE
diff -u pkgsrc/databases/mysql80-server/MESSAGE:1.1 pkgsrc/databases/mysql80-server/MESSAGE:1.2
--- pkgsrc/databases/mysql80-server/MESSAGE:1.1 Thu May 13 15:25:20 2021
+++ pkgsrc/databases/mysql80-server/MESSAGE     Sun Sep 12 20:32:27 2021
@@ -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