When using Navicat to link mysql, the following error is reported:
Solution:
Log in to MySQL on the server and enter use MySQL:
root@localhost 09:07: [mysql]> update user set host = '%' where user = 'root';
Query OK, 1 row affected (0.07 sec)
root@localhost 09:12: [mysql]> flush privileges;
Query OK, 0 rows affected (0.02 sec)
Then, using the Navicat link again, the following appears:
Solution:
GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’ IDENTIFIED BY ‘yourpassword’ WITH GRANT OPTION
root@localhost 09:13: [mysql]> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;
Query OK, 0 rows affected, 1 warning (0.02 sec)
root@localhost 09:14: [mysql]> flush privileges;
Query OK, 0 rows affected (0.02 sec)
To sum up: this kind of error is probably caused by the permissions set by the root user in MySQL in the database
Read More:
- Mysql5.7.18.1 Error 1054 (42S22): Unknown Column’password’ In’field List’ When Changing User Password
- [Solved] mysql [ERR] 1273 – Unknown collation: ‘utf8mb4_0900_ai_ci’
- [MySQL] Note that MySQL5.1 does not support utf8mb4 Error 1115: Unknown character set:’utf8mb4′
- ERROR 1054(42S22) Unknown column ‘password’ in ‘field list’ (Fixed)
- [Solved] Windows MYSQL Error: django.db.utils.OperationalError: (2026, ‘SSL connection error: unknown error number‘)
- [Solved] ERROR 1054 (42S22): Unknown column ‘password‘ in ‘field list‘
- [Solved]Error 1054 (42s22): unknown column ‘password’ in ‘field list’ how to modify the password
- [Solved] tidb-cdc Create Task Error: Unknown or incorrect time zone
- [Solved] Daily further: database error: unknown column ‘model’ in ‘field list‘
- [Solved] pymysql.err.internalError: (1054, “Unknown column ‘LGD_xiaohong’ in ‘field list’”)
- Remote connection to MySQL database error: is not allowed to connect to this MYSQL server solution
- [Solved] mysqli::__construct(): Server sent charset (255) unknown to the client. Please, report to the developers in
- How to Solve postgres Errror: ERROR #42883 operator does not exist: smallint ~~ unknown
- ERROR 3021 (HY000): Unknown error 3021 [How to Solve]
- Mysql Flashback Warning: C:\Program Files\MySQL\MySQL Server 8.0\bin\mysql.exe
- [Solved] ERROR 2002 (HY000): Can’t connect to local MySQL server through socket’/var/lib/mysql/mysql.sock’ (2)
- MySql Install Error: Can‘t connect to local MySQL server through socket ‘/tmp/mysql.sock‘
- Mysql8.02/ubuntu 20 ERROR 1449 (HY000) [How to Solve]
- How to Fix MySQL ERROR 1130 (HY000): Host ‘XXXX’ is not allowed to connect to this MySQL server
- [Solved] mysql 2003 remote access failed mysql8 configure remote access