Installing the configuration MySQL 5.7
Open MySQL Website:
https://www.mysql.com/
Click Downloads, and then select commuity Select MySQL Community server to select the corresponding system version of the installation package. Here choose mysql5.7 Win 64 bit,
After download, unzip, and in the C-disk Wamp directory, create a new mysql5.7 folder, the extracted MySQL into
Then add MySQL to the system environment variable,
Right-click Computers, properties, advanced system settings, environment variables, system variables, click Path, edit, add English semicolon, add the run file paths for MySQL: c:/wamp/mysql5.7 /bin
copy c:/wamp/mysql5.7 under My-default.ini file, rename to My.ini This is the MySQL configuration file, modify the file's Basedir and data archive directory DataDir
Add under Mysqld
Explicit_defaults_for_timestamp=true
Open cmd command line, right click Admin Run, Initialize data directory
Mysqld--initialize-insecure-user=mysql
Install MySQL for Windows services
Mysqld--install
Start MySQL
net start MySQL
Try to connect to MySQL
Ok, change the root password of MySQL,
Update user Set authentication_string = PASSWORD (' 1234 '); Flush privileges Exit exit
Re-login at this time requires MySQL password 1234, before you can enter
Ps:mysql installation can also be referenced. MySQL official Documentation manual PDF version: Http://downloads.mysql.com/docs/refman-5.7-en.a4.pdf with installation instructions.
Database Code reference: http://www.cnblogs.com/yangxunwu1992/p/5584314.html
Installation of MySQL under Windows Wamp Environment 2 configuration