Tencent cloud database must first open the external network access, after opening to the show ip (domain name) plus port
3, remote authority;
update user set host = '%' where user = 'root'; (error does not matter, you will find that there are many fields user root)
4、FLUSH PRIVILEGES;