What happens on the initial start of the server
suggest changeThis is mysqld --initialize when the data directory is empty, on MySQL 5.7 and 8.0. --initialize-insecure leaves the root password empty. Docker and some packages set the password themselves instead of writing it to the error log. validate_password is not installed on every build.
- The server is initialized.
- SSL certificate and key files are generated in the data directory.
- The validate_password plugin is installed and enabled.
- The superuser account ‘root’@‘localhost’ is created. The password for the superuser is set and stored in the error log file.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents