MySql5712 installation-free configuration and service cannot start the problem solution: 1 unzip the mysql-5712-win32zip file. 2. Add environment variables to the BIN folder in the extracted folder. 1.decompress the mysql-5.7.12-win32.zip file.
2. Add environment variables to the BIN folder in the extracted folder.
3. Create a data folder in the extracted folder.
4. Copy the my-default.ini and rename the copied copy to the my. ini file. Then modify the my file and assign the corresponding path values to the basedir and datadir files.
5. In CMD, enter the created data folder, and then execute "mysqld -- initialize" to initialize the data folder.
6. Run CMD to enter the bin folder and run "mysqld-install" to install the service.
7. Enter "net start mysql" to start the service.
The default initialization password is in the *. err file of the data folder initialized with "mysqld -- initialize. Open the file in notepad and find something similar.
"Uue!" in the anti-white part! "NwB54w. o" is the initial password.
Change the default ROOT password
First, use the default password to log on to the database, and then use the "set password = password ('your password');" statement.
Solution to the problem that My SQL service cannot be started.
Generally, data is not initialized. The solution can be solved by proceeding to Step 1 above.