MySQL installation version: 5.7.20
Installation Tutorials:
- On the https://dev.mysql.com/downloads/mysql/page, select the Zip package download (archive for archival meaning)
- After downloading, unzip and configure the environment variables:
- After you have configured the environment variables, run as an administrator at the command prompt, enter the following instructions
- CD/D E:\mysql-5.7.20-winx64\bin (go to your own decompression after MySQL bin file)
- Mysqld Install
- Mysqld--initialize-insecure (Execute mysqld--initialize-insecure (do not set root password, recommended) command in MySQL bin directory first, The first time this command is executed will wait a little longer and the console has no return results. You can see the MySQL root directory will be more than a data folder, inside a heap of files. )
- net start MySQL
The initial login instruction is: mysql-u root-p
"The MySQL service is starting. The MySQL service could not be started. The service did not report any errors. "Solution