Mysql-8.0.11-winx64.zip:https://cdn.mysql.com//downloads/mysql-8.0/mysql-8.0.11-winx64.zip
Installation environment: Windows7.
Unzip the Mysql-8.0.11-winx64.zip installation package to any directory (for example: C:\java)
Decompression process
Post-decompression effect
# Start a doc (Command prompt)
# start
# go to MySQL unzip directory
CD C:\Java\mysql-8.0.11-winx64
# Add MySQL service to the list of services in Windows
Bin\mysqld Install
# effect
# initialization
Bin\mysqld--initialize
# After executing the MySQL installation directory will have a more data directory
# start the MySQL server side
#连接
Bin\mysql-u root-p
# Password in the new data directory under the extension. err file, each time the password is not fixed
# Copy the password to the doc command, after the successful installation of the interface
#必须重置密码 (the password is determined by yourself, as mine is: 123456)
ALTER USER ' root ' @ ' localhost ' identified with Mysql_native_password by ' 123456 ';
Test the new password OK
Here, mysql8.0.11 installation is complete. I wish you all the best work!
Mysql-mysql 8.0.11 Installation Tutorial