Home >Database >navicat >How to connect Alibaba Cloud server to navicat

How to connect Alibaba Cloud server to navicat

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-05 14:27:584813browse

How to connect Alibaba Cloud server to navicat

1. Open the local Navicat, click Connection--New Connection--MySQL, the following picture will appear:

Connection name: fill in any

Host: Alibaba Cloud's IP address

Password: The password configured when installing MySQL.

Then, click "OK".

How to connect Alibaba Cloud server to navicat

Related recommendations: "Navicat for mysql graphic tutorial"

2. At this time, click on the newly created "Alibaba Cloud" link. There was an error in mine (but I forgot to take a screenshot)

How to connect Alibaba Cloud server to navicat

3. Set the port range, and set the port range 3306 here.

How to connect Alibaba Cloud server to navicat

#4. Then log in to the Alibaba Cloud server, open the MySQL 5.6 control panel, and enter the password. Change the host's defense scope by changing the table.

Run to the interface below:

mysql>use MySQL
mysql> update user set host='%' where user='root';
mysql>select host,user from user;

How to connect Alibaba Cloud server to navicat

4. It’s time to configure, double-click the “Alibaba Cloud” connection. If the error as shown below still occurs, then perform the fifth step and restart the MySQL database on the Alibaba Cloud server.

How to connect Alibaba Cloud server to navicat

#5. Then restart MySQL, click the win icon - enter "Service" - double-click "Service".

How to connect Alibaba Cloud server to navicat

Then find and restart the MySQL service.

How to connect Alibaba Cloud server to navicat

#6. The error that appeared above will disappear. Double-click the "Alibaba Cloud" link created in Navicat. The connection is successful.

The above is the detailed content of How to connect Alibaba Cloud server to navicat. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn