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
JDK Installation I won't go into too much det...
1 Keep the rpm package downloaded when yum instal...
Introduction to Nginx dynamic and static separati...
First of all, we need to understand that GB2312, ...
Rendering If you want to achieve the effect shown...
Create a folder Directory structure: dabaots Init...
Preface Everyone knows that the partition field m...
Preface Most of our MySQL online environments use...
In CentOS7, when we install MySQL, MariaDB will b...
This article shares the specific code of JQuery t...
This article shares the specific code for the WeC...
Effect Fading from top to bottom Source code html...
Conventional solution Use FileReader to read the ...
Table of contents 1. Concepts related to stored p...
1. Achieve results 2. Data format returned by the...