Tencent Cloud International: Cannot connect to the database? Follow the network path
Database connections can fail at DNS, routing, ports, credentials or TLS. Following the path in order is more effective than repeatedly resetting passwords and avoids widening public exposure.

Database connections can fail at DNS, routing, ports, credentials or TLS. Following the path in order is more effective than repeatedly resetting passwords and avoids widening public exposure.
Checks specific to Tencent Cloud International
Check VPC, subnet, port and security groups for CVM and TencentDB for MySQL. Private connections from another network require connectivity planning. Distinguish blocked network access from incorrect credentials.
Test from the actual application host
Confirm the private or public endpoint, port and engine. A private endpoint generally needs suitable network connectivity; failure from a laptop does not prove the application host cannot connect. Distinguish name resolution, timeout, connection refusal and authentication errors.
Separate networking from authentication
Check host egress, database ingress, routes and database access controls without opening access to 0.0.0.0/0. Once the network path works, check username format, database name, password source, TLS and driver compatibility. Keep complete connection strings out of error responses.
Then inspect connection behavior
After connectivity returns, inspect connection limits, pool size, timeouts and slow queries. Scaling application replicas increases total connections; each replica should not consume the database maximum. Keep a working baseline and a troubleshooting record for future changes.
Official references · checked 2026-12-01
Contact us TG @yunshuguoji

