Home > Database > navicat > What should I do if navicate reports an error when connecting to mysql database?

What should I do if navicate reports an error when connecting to mysql database?

王林
Release: 2020-06-01 17:03:39
Original
4685 people have browsed it

What should I do if navicate reports an error when connecting to mysql database?

Problem description:

After installing navicate and connecting to mysql, an error occurs as shown below:

What should I do if navicate reports an error when connecting to mysql database?

Solution Method:

1. Open the command prompt and enter the command to enter mysql

What should I do if navicate reports an error when connecting to mysql database?

2. Enter the command [ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '20040315';】

What should I do if navicate reports an error when connecting to mysql database?

Note: You need to change the last password to the password of your root user

3. Enter the command [Flush privileges]

What should I do if navicate reports an error when connecting to mysql database?

After completion, just connect to mysql again.

Recommended tutorial: navicate

The above is the detailed content of What should I do if navicate reports an error when connecting to mysql database?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template