After the decompressed version is installed, add the bin path under the mysql installation directory to the system environment variable.
1. Install the MySQL service: cmd Then switch to the MySQL bin directory and execute --- mysqld --install
2. There is no data folder in the installation directory --- Execute the command: execute the command mysqld --initialize-insecure --user=mysql
3. Check the err file in the data directory to generate a random initial password
4. Start the MySQL service: net start mysql
5、mysq - u root -p
6. Enter the initial password
7. Modify the initial password: set password for root@localhost = password('dengqw'); The new password is in brackets.
8. The above method corresponds to the installation of the pressurized version.