pkgsrc/databases/mysql57-server/MESSAGE
gutteridge 84a9fb07d4 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.)
2021-09-12 20:32:26 +00:00

17 lines
697 B
Text

===========================================================================
$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, 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.
For both these topics, please see the manual and the MySQL web site for
further instructions.
===========================================================================