Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Remote link to database with tools Times-1045 access denied error

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Today I tried to use the Navicat tool to remotely link to MySQL Times 1045 error!

The error message is as follows:

1045 access denied for user 'root'@192.168.0.101'

The reason is that the database forbids remote links

Root@mysql01 00:32: [(none)] > use mysql

Database changed

Root@mysql01 00:32: [mysql] > update user set host='%' where user='root'

Query OK, 1 row affected (0.01sec)

Rows matched: 1 Changed: 1 Warnings: 0

Root@mysql01 00:32: [mysql] > flush privileges

Query OK, 0 rows affected (0.01 sec)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report