pycharm connect to Alibaba Cloud MySQL

How to use pycharm to connect to MySQL in Alibaba Cloud server

Insert picture description here
Click database on the right, then click +, select MySQL.
Insert picture description here
General is filled with the password set on mysql, the port does not need to be changed, all are 3306, the host does not need to be changed, the user writes the default, if the test connection is gray, click install driver, pycharm will download and install it yourself.
Then click ssh, SSH checkbox, proxy host write server address, user and password are the account and password of Alibaba Cloud server. Click test connection, you can succeed.
Click Run directly on the console to run the corresponding command.

Published 16 original articles · Likes0 · Visits 148

Guess you like

Origin blog.csdn.net/qq_43275748/article/details/105663922