MySQL + Naticat for Mysql detailed tutorial

MySQL + Naticat for Mysql detailed tutorial

          点关注不迷路,欢迎再来!

A .MySQL 8.0.17 download and install tutorial Detailed graphics
went first to mysql official website to download, address: https://dev.mysql.com/downloads/mysql/
Here Insert Picture Description

Here Insert Picture Description
New my.ini file, the contents inside the my.ini file as follows:

[mysql]
default-character-set=utf8     #默认字符集
[mysqld]
port = 3306     #端口
basedir=D:\MYSQL\mysql-8.0.17-winx64   #安装路径
max_connections=20
character-set-server=utf8
default-storage-engine=INNODB

Configuration environment variable

New MYSQL_HOME
Here Insert Picture Description
Edit Path
Here Insert Picture Description

win10 inside, enter cmd, right in the management of prompt select Run as administrator

After entering this page, cd to the MySQL installation directory.

Initialize the database:

 mysqld --initialize --console

After the initialization of the database, as shown, there will be a default password: aw # D5l & IotGr

installation:

mysqld install

Start the service:

net start mysql

Here Insert Picture Description
Log Mysql:

mysql -u root -p

Change Password command:

alter user user() identified by "123456";

Here Insert Picture Description

Two .Navicat for MySQL software and install patches:

Link: https: //pan.baidu.com/s/1-HmVlafqaImFxiAAHPqKxQ
extraction code: zbb2
Here Insert Picture Description
Navicat connection Mysql error: Client does not support authentication protocol requested by server;
Here Insert Picture Description

Resolve as follows:
where password '123456', as modified password, remember MYSQL need to install and modify the landing after the success of the initial password.

alter user 'root'@'localhost' identified with mysql_native_password by '123456' ;
flush privileges;


Reconnection to find and solve:
Here Insert Picture Description

Published 101 original articles · won praise 33 · views 20000 +

Guess you like

Origin blog.csdn.net/qq_39443053/article/details/97817155