1, download the installation package
2, installation tutorial
(1) configuration environment variable
(2) generating a data file
(3) Install MySQL
(4) to start the service
(5) Log in MySQL
(6) to query the user password
(7) set the change password
(8) Quit
(1) MySQL installation url: https://dev.mysql.com/downloads/mysql/
Installation directory: MYSQL_HOME [D: \ datebaseApp \ mysql-5.7.27-winx64]
(2) generating a data file
Run as administrator cmd
Enter E: \ python \ mysql \ mysql-8.0.12-winx64 \ bin> next
Run: mysqld --user = MySQL in the insecure --initialize- in D: \ datebaseApp \ directory data generated mysql-5.7.27-winx64 \ bin directory
(3) Install MySQL
Run in windows powershell (administrator) in mysqld install error:
mysqld: Can not "mysqld" item recognized as a cmdlet, function, script file or executable volume name. Please check the spelling of the name, if you include a path, make sure the path is correct, and then try again.
Baidu after Google to no avail
. \ mysqld.exe install success
(4) to start the service
net start mysql
(5) Log in MySQL
(6) to query the user password
Plus before executing the command ./
Execution of the command in mysql the end of the service plus \ g
(7) set the change password
(8) commits the transaction and exit