MySQL open skip-name-resolve and skip-networking optimization

Source: Internet
Author: User

Use Skip-name-resolve to increase remote connection speed

Skip-name-resolve

This option means disabling DNS resolution, which is a special setting on an official system regardless of the way the link is through the hosts or IP mode, he will do the DNS counter-check, because the anti-check resolution too slow, you will not be able to cope with the excessive query.

Single-machine running MySQL using skip-networking to turn off MySQL TCP/IP connection mode

Skip-networking

You cannot access MySQL remotely after you turn on this option

For security reasons, you can add Bind-address=ip to the configuration file if you want to specify IP access to MySQL, as long as you turn off skip-networking

bind-address=192.168.1.100

MySQL optimization should be configured according to the actual situation

MySQL open skip-name-resolve and skip-networking optimization

Related Article

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.