# Alibaba Cloud International: Cannot connect to the database? Follow the network path

Yilong Cloud · 2026-12-01 · Updated 2026-12-01

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.

Alibaba 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.

## Checks specific to Alibaba Cloud International

For ECS-to-RDS access, check region, VPC and RDS allowlists first. Allow the application source instead of every IP. Database login privileges and RAM console permissions are separate layers.

## 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

- [Alibaba Cloud International official documentation](https://www.alibabacloud.com/help/en/rds/)

Contact us [TG @yilongcloud](https://t.me/yilongcloud)

## Related guides

[### WUYING operations: files, peripherals, policies and recovery

Assign users and desktop permissions by role. Check clipboard, file transfer, USB, printing and screen-related policies for the workload. Availability depends on the client, image and configuration; test the target devices instead of assuming every peripheral is supported.](https://www.tgyilongcloud.com/en/help/articles/wuying-security-files/)[### WUYING region and networking: client access versus internet egress

Desktop display and input travel between the client and cloud. Test latency, jitter, loss and application behavior from employees’ actual networks rather than choosing by a region name. Region changes can require recreation or migration, so validate before scaling.](https://www.tgyilongcloud.com/en/help/articles/wuying-region-network/)[### WUYING setup: office network, user assignment and client login

WUYING runs a desktop in the cloud and connects users through a client. Establish user locations, applications, peripherals, file sharing and Windows licensing needs before choosing an available region. Latency depends on both region and access network; test a small deployment first.](https://www.tgyilongcloud.com/en/help/articles/wuying-create-login/)

Source: https://www.tgyilongcloud.com/en/help/articles/database-connectivity/
