The remote mysql cannot be connected locally.

problem description

using navicat, you cannot remotely connect to the mysql5.7 installed by centOS 7

the platform version of the problem and what methods you have tried

Aliyun centOS 7 version
has basically tried everything online.
1. The configuration file of mysql has been modified. In my version of the configuration file, there is only my.config, and there is no bind-address parameter configuration. As shown in the figure, this is my mysql configuration file
clipboard.png

2.mysql
clipboard.png
mysql
clipboard.png

clipboard.png

3.3306
clipboard.png
, but it still doesn"t work. I then turned off the firewall directly. It still doesn"t work
, so I"d like to ask you if there is any other way.

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Jan.08,2022

clipboard.png
well, this is the result of my execution of this


if the security group is not configured to release port 3306.

Menu