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

What if the remote connection mysql prompt is rejected?

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains the "remote connection mysql tips how to be rejected", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "remote connection mysql tips are rejected how to do" it!

This error occurs when connecting to mysql using MySQL-Front

ERROR 1130: Host 10.5.9.168 is not allowed to connect to this MySQL server

one. Change the meter. It may be that your account is not allowed to log in remotely, only in localhost. At this time, just change the item "host" in the "user" table in "mysql" from "localhost" to "%" after logging in to mysql on the computer in localhost.

-u root-p

Mysql > use mysql

Mysql > update user set host ='% 'where user =' root'

Mysql > flush privileges

Mysql > select 'host', 'user' from user where user= 'root'

You can connect now!

Thank you for your reading, the above is the content of "remote connection mysql prompt is rejected". After the study of this article, I believe you have a deeper understanding of the problem of remote connection mysql prompt being rejected, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

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