table of Contents
1251 - Client does not suppprt authentication protocol requested by sever;
1.MySQL installation
Download MySQL
Baidu network disk download
Link: https: //pan.baidu.com/s/1SVMCvCmHeZ0srL9e7lTwxg
extraction code: ouhg
Official Website Download
Download: https://dev.mysql.com/downloads/
Click MySQL Community Server
Click Go to Download Page
Select one of the following
点击No thanks,just start my download
Installing MySQL
After clicking the downloaded file, click next
Select Software framework click Execute
Select the type of server configuration, "Developer Machine" (developer machine)
Port is usually 3306
There will be a set root password after clicking Next, we must remember that good.
After the completion of the basic MySQL installed, click Finsh MySql to complete the installation.
2.Navicat connect to MySQL
Download Navicat
Link: https: //pan.baidu.com/s/1z7qLQ5OrTCHI5wPLNGD-SQ
extraction code: kfbm
MySQL connection
Click the connection after installing the upper left corner, choose MySQL
Then the root password is the password above MySQLroot set up their own
After the test you can click on the link
Click OK to pop a successful connection to establish a connection.
1251 - Client does not suppprt authentication protocol requested by sever;
There may pop the bomb box
First enter the MySQL command line
You can first look at the user information
select host,user,plugin,authentication_string from mysql.user;
We can see plugin is mysql_navite_password;
If there is no change, then that is caching_sha2_password.
repair it a little
alter user 'root'@'%'identified with mysql_native-password by '*****';
其中有三个带单引号的,第一个root代表root账户,% 是host不限制ip,最后一个就是root用户的密码了。
修改成功后就可以成功连接了。
确定之后就可以使用Navicat建表了。