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 are the problems when using MySql under Redhat5

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

Share

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

This article mainly introduces the problems when using MySql under Redhat5. It is very detailed and has certain reference value. Friends who are interested must finish reading it.

First of all, it starts with the inability to connect remotely, although some problems are encountered indirectly.

If you encounter a problem, find out the problem, and then summarize it and share it with you. If you have a problem or have solved it, I hope to reply!

Remote connection error 1130

Some user information is recorded in the mysql table user, where the host specifies which clients can access.

This problem does not occur if it is installed under Windows and is specified to be remotely accessible.

The solution is to modify the access permissions:

After logging in, change the "host" column in the "user" table in the "mysql" database from "localhost" to "%".

Mysql-u root-p

Mysql > use mysql

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

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

Mysql > flush privileges

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

Exit and restart the mysql service!

These are all the contents of this article entitled "what are the problems when using MySql under Redhat5?" Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

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