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/
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
Edit Path
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
Log Mysql:
mysql -u root -p
Change Password command:
alter user user() identified by "123456";
Two .Navicat for MySQL software and install patches:
Link: https: //pan.baidu.com/s/1-HmVlafqaImFxiAAHPqKxQ
extraction code: zbb2
Navicat connection Mysql error: Client does not support authentication protocol requested by server;
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: