1. download the decompressed version of Mysql and decompress it to the installation directory. 2. copy the my-defaulini file in the decompressed package and change it to myini. Modify Mysql parameters 3 configure environment variable 4 install Mysql in CMD. Note that you must go to the bin directory of the decompressed package and enter 1. download the decompressed version of Mysql and decompress it to the installation directory.
2. copy and decompress the my-default.ini file in the package and rename it my. ini. Modify parameters of my. ini
3. configure environment variables
4. install the Mysql service in CMD.
You must enter the bin directory of the decompressed package to install the package. Otherwise, an error occurs when running the Mysql service Path. (if an error occurs, use the SC delete mysql operation to delete the service and reinstall the service. sometimes the deletion is incomplete and the Mysql registration information is deleted from the registry)
5. start the service
6. enter MySQL. The initial password is blank.
7. modify the MySQL password