Mysql 5.7.11 winx64 installation and configuration method graphic tutorial, 5.7.11winx64
I have summarized the notes for installing mysql in win10 and shared them with you.
1. ExtractMysql-5.7.11-winx64.zip to a folder such as C: \ DevelopCommon \ mysql-5.7.11-winx64.
2. Configure Environment Variables
Variable name: MYSQL_HOME
Variable value: C: \ DevelopCommon \ mysql-5.7.11-winx64
--------------
Variable name: Path
Variable value: % MYSQL_HOME % \ bin
3.ToEnter as AdministratorC: \ DevelopCommon \ mysql-5.7.11-winx64 \ bin directory;
(In the window menu, search for a command prompt and right-click it to run as an administrator)
4. ExecuteMysqld installCommand to install mysql
Run the mysqld -- initalize command to initialize the data directory.
Run the net start mysql Command. net is not an internal or external command...
Add the following configuration to the environment variable:
Variable name: Path
Variable value:; % SystemRoot % \ system32;
Run the net start mysql command again
# Remove mysql service mysqld remove
# Disable the mysql service. net stop mysql
5. Execute mysql-u root-p
Enter the password root and Access denied for user ....
Solution:
1) stop mysql service and net stop mysql
2) execute mysqld -- skip-grant-tables;
3) open a new window, keep the original window, and execute
Mysql-u root
Update mysql. user set authentication_string = password ('rocky') where user = 'root' and Host = 'localhost ';
Flush privileges;
Quit;
Restart your computer. Execute net start mysql
Run mysql-u root-p
Enter the password *****
Install navicat premium
Create a connection
Login, password expired
Solution:
In the successfully logged on doc window, run set password for 'root' @ 'localhost' = password ('root ');
Log on to navicat premium again.
Enter root to log on.
The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.