How to connect to MySQL visualization tool Navicat

How to connect to MySQL visualization tool Navicat

After installing Navicat

The following error may occur: Client does not support authentication protocol requested by server

At this time, enter mysql -u root -p in the mysql bin file directory and enter the password, enter the mysql terminal, and enter the command in the terminal:

alter user 'root'@'localhost' identified with mysql_native_password by ''

Add your MySQL password after the single quotes.

Then reconnect.

Registration code: NAVHWK6ADMVKDKW3

Modify the mysql usage permissions to anyone in the LAN.

mysql> use mysql;
mysql> update user set host = '%' where user = 'root';
mysql> select host, user from user;
mysql> flush privileges; 

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • Detailed explanation of the binlog log analysis tool for monitoring MySQL: Canal
  • 5 MySQL GUI tools recommended to help you with database management
  • Detailed explanation of MySQL monitoring tool mysql-monitor
  • A detailed introduction to the construction and use of the tool Anemometer graphically displays MySQL slow logs
  • How to use MySQL stress testing tools
  • Pycharm tool failed to connect to MySQL database
  • How to quickly repair corrupted MySQL database files using the myisamchk and mysqlcheck tools
  • Analysis of Mysql data migration methods and tools
  • A quick solution to accidentally delete MySQL data (MySQL Flashback Tool)
  • KTL tool realizes the method of synchronizing data from MySQL to MySQL
  • Recommend several MySQL related tools

<<:  How to use the markdown editor component in Vue3

>>:  Linux common commands chmod to modify file permissions 777 and 754

Recommend

JavaScript implements a box that follows the mouse movement

This article shares the specific code of JavaScri...

Solution to the automatic termination of docker run container

Today I encountered a problem when I used Dockerf...

How to install Maven automatically in Linux continuous integration

Unzip the Maven package tar xf apache-maven-3.5.4...

How to create a MySQL database (de1) using commands

1. Connect to MYSQL Format: mysql -h host address...

Example analysis of the principle and solution of MySQL sliding order problem

This article uses examples to explain the princip...

Summary of the application of decorative elements in web design

<br />Preface: Before reading this tutorial,...

How to implement interception of URI in nginx location

illustrate: Root and alias in location The root d...

A practical record of checking and processing duplicate MySQL records on site

Table of contents Preface analyze Data Total Repe...

About WSL configuration and modification issues in Docker

https://docs.microsoft.com/en-us/windows/wsl/wsl-...

Detailed explanation of the configuration method of Vue request interceptor

Follow the steps below 1. request.js content: htt...

MySQL study notes on handling duplicate data

MySQL handles duplicate data Some MySQL tables ma...

Detailed explanation of MySQL sql_mode query and setting

1. Execute SQL to view select @@session.sql_mode;...

Use of Linux bzip2 command

1. Command Introduction bzip2 is used to compress...