There is a problem with mysql8.0 without password in Navicat connection
**Problem: * * connect to mysql8.0 with Navicat, but the test connection fails
* * reason: * * when installing mysql8.0, there is no password set, and there is no random password under data in the MySQL installation directory
Solutions:
1. Stop the MySQL service
open the CMD as an administrator and close it or close the windows service page
C:\Users\xxx>net stop mysql`
2. As an administrator, open the CMD page and enter the following command to start MySQL without password
C:\Users\xxx>mysqld --console --skip-grant-tables --shared-memory
Take a look at the following screen:
3. Open a new CMD page and enter the following statement:
mysql> flush privileges; -- Modify Permissions
Query OK, 0 rows affected (0.16 sec)
mysql> ALTER USER "root"@"localhost" IDENTIFIED BY "123456"; -- Modify Password
Query OK, 0 rows affected (0.08 sec)
Then the login password is 123456
4. After setting, start the MySQL service normally, and use the user name and password to verify whether the setting is successful
Read More:
- [Solved] Navicat Connect MySQL error: Authentication plugin ‘caching_sha2_password‘ cannot be loaded
- [Solved] Navicat connection error 1251 compatibility with docker MySQL
- Docker: How to Solve MYSQL8 & Navicat remote connection error
- [Solved] there are special symbols in the initial password for installing MySQL in Hadoop, and an error is reported
- Mysql5.7.18.1 Error 1054 (42S22): Unknown Column’password’ In’field List’ When Changing User Password
- Remote connection to MySQL database error: is not allowed to connect to this MYSQL server solution
- Navicat connected to Mysql error: Client does not support authentication protocol requested by server;
- MYSQL Error 1045 (28000): access denied for user ‘root’ @’localhost ‘(using password: Yes)
- [Solved]Error 1054 (42s22): unknown column ‘password’ in ‘field list’ how to modify the password
- [Solved] MySQL 8 Connect Navicat error: error 2059
- Docker mysql8 modify password
- MySQL Change password failure prompt: ERROR 1064(42000):You have an error in your SQL syntax: check the corresponds to your M
- mysql ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executin
- MYSQL Use cmd to change root password error: ERROR 1064 (42000): You have an error in your SQL syntax; check the manual tha
- ERROR 1054(42S22) Unknown column ‘password’ in ‘field list’ (Fixed)
- How to Fix MySQL ERROR 1130 (HY000): Host ‘XXXX’ is not allowed to connect to this MySQL server
- MYSQL Enter password:ERROR 2003 (HY000): Can‘t connect to MySQL server on ‘localhost:3306‘
- linux mysql ERROR 1820 (HY000): You must SET PASSWORD before executing this statement
- [Solved] ERROR 1054 (42S22): Unknown column ‘password‘ in ‘field list‘
- (Fixed) workbench MySQL Error Code: 2013. Lost connection to MySQL server during query