When aliyun connection with the local server database Navicat, there has been found an error as shown below
First, we use the Linux command line to enter the mysql data, switch to the mysql database
mysql -u root -p
Any remote host can access the database
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'yourpassword' WITH GRANT OPTION;
Refresh permission allows the operator to take effect
mysql>FLUSH PRIVILEGES;
Perform quit; or EXIT; or \ q to exit the database, execute the following command to open firewall ports 3306
firewall-cmd --zone=public --add-port=3306/tcp --permanent
Restart the firewall and see if the entry into force
firewall-cmd --reload #重启firewall
firewall-cmd --list-ports #查看已经开放的端口
At this point, if you still Rom, entered the server some settings, as follows:
Ali and so on into the service management console -> to enter the cloud server -> select instance
selection manager
to select the security group in this instance
selection rules configuration
option to add the security group rules
after selecting add, change only the content of the red box on the line, write the description just
saved after that, it will add to the success of the security rule group
can then be normal landing