MYSQL 10.1.35 Kaiqi Open remote Connection

Source: Internet
Author: User
1, first open 3306, allow any IP connection
In/etc/mysql/mariable.conf.d/
Vim 50-SERVER.CNF
This location is not the same as the location of the online blog.
In the my.cnf file The last one contains a folder, go to the folder to find yourself (personal experience, academic shallow, do not know the principle)
Find bind-address=127.0.0.1
Change it to
bind-adress=0.0.0.0
Save exit. The 3306 port is open.
2. Authorization of account number
Execute command after logging into database
GRANT all privileges on . To ' root ' @ '% ' identified by ' Youpassword ' with GRANT OPTION;
FLUSH privileges;

You can connect remotely after you have finished running.

MYSQL 10.1.35 Kaiqi Open remote Connection

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.