Home  >  Article  >  Database  >  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?

王林
王林Original
2020-06-01 17:03:394642browse

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!

Statement:
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