Navitcat connection to the remote MySQL server is not connected

Source: Internet
Author: User
Tags mysql host

Using putty to operate MySQL database is not very convenient, just want to use navitcat ssh to connect to the remote MySQL server, you can dynamically modify the data operation. According to the opinions of many netizens online, landlord use the following command: VIM/ETC/MY.CNF.

Under [Mysqld], add the following two lines
Skip-name-resolve

Skip-grant-tables

Save, restart the MySQL service, the results on the Putty login not MySQL (username and password right), and then remove Skip-grant-tables, finally boarded. I then manipulated the project on the Web page that was deployed on the remote server, but I received a "database connection failure." Think of the changes made, I think this sentence skip-name-resolve suspect the biggest, in the comments, finally the project connected to the database successfully. But the problem is, Navitcat always connect not on the remote MySQL service, the landlord uses the intranet (the company does not allow the external network), and has been added to the local IP MySQL host there, refresh the permissions, or not. Login connection for a long time, last not even. Does the great God have any clever idea?


Navitcat connection to the remote MySQL server is not connected

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.