Some problems when using MySql in Redhat5

Source: Internet
Author: User

The first step is to start from remote connection failure, although indirectly encountering some problems. Find out the problem and summarize it. If the problem persists or has been resolved, I hope to reply to it! Remote connection error 1130 some user information is recorded in the mysql database table user. The host in the table specifies the clients that can access the database. If it is installed in Windows and the remote access is specified, this problem will not occur. The solution is to modify the access permission: After logging on to mysql, change the "host" column in the "user" table in the "mysql" database, and change it from "localhost" to "% '. Mysql-u root-pmysql> 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 '; log out and restart the mysql service! Author: cuisuqiang

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.