At the beginning, I felt sad. The screenshots are as follows: After some trouble, the solution is as follows: First, make sure that port 3306 of MySQL on the Linux service is open to the outside world. Switch to the directory: Then restart the firewall mysql opens root permissions (executed under mysql command) Grant permissions: grant all privileges on *.* to 'root'@'% 'identified by 'password' with grant option Refresh the privilege list: Modify the mysqld.cnf file in Comment out "bind 127.0.0.1" Uncomment the line Finally restart mysql So happy, it succeeded, the screenshots are as follows: ***************************************************************************************************** Energy is limited, and there are too many ideas. Just focus on doing one thing well. I'm just a programmer. Write good code within 5 years, polish every word of technical blogs, and insist on zero copy and originality . The purpose of blogging is to exercise logical reasoning, deepen the systematic understanding of knowledge, and practice writing. If it happens to be helpful to others, it is really a happy thing. ***************************************************************************************************** Summarize The above is the editor's introduction to solving the problem that Navicat cannot connect to MySQL on the Linux server. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Javascript combined with Vue to achieve automatic path finding for any maze image
>>: MySQL UNION operator basic knowledge points
Table of contents Base Return Type String and Boo...
Table of contents Installation-free version of My...
1. What is Docker Secret 1. Scenario display We k...
Table of contents Preface 1. Current gcc version ...
Table of contents The first method: When the MySQ...
This article shares the specific code of JavaScri...
1. TCP Wrappers Overview TCP Wrappers "wraps...
This article shares the installation tutorial of ...
Block element HTML tag classification details * a...
1. Install JDK 1.1 Check whether the current virt...
Table of contents Preface 1. Deployment and Confi...
This is an enhanced version. The questions and SQ...
Two problems that are easy to encounter when inst...
1. Overflow content overflow settings (set whether...
Table of contents 1. Vue3 component communication...