diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2021-09-12 20:32:26 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2021-09-12 20:32:26 +0000 |
commit | 9b4884307f1b5584818b2dcb56680c2afd10ac26 (patch) | |
tree | 3302933324ae0c29bdaff2f008625e79208963d2 /databases/mysql80-server | |
parent | f921fddd1da12aefc9b8acb6881dfbfc76eb6886 (diff) | |
download | pkgsrc-9b4884307f1b5584818b2dcb56680c2afd10ac26.tar.gz |
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 (limited to 'databases/mysql80-server')
-rw-r--r-- | databases/mysql80-server/MESSAGE | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/databases/mysql80-server/MESSAGE b/databases/mysql80-server/MESSAGE index e6593b408fa..74ff96e4ec9 100644 --- a/databases/mysql80-server/MESSAGE +++ b/databases/mysql80-server/MESSAGE @@ -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. =========================================================================== |