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

Huawei 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 Huawei Cloud International

For ECS-to-RDS access, check region, VPC, endpoint, security groups and database credentials. If external administration needs public connectivity, restrict sources and verify TLS rather than leaving broad access open.

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

- [Huawei Cloud International official documentation](https://support.huaweicloud.com/intl/en-us/rds/)

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

## Related guides

[### Plan Huawei ECS, EIP and bandwidth together

ECS supplies compute, EIP supplies a bindable public address and bandwidth determines the selected public connection arrangement. The compute amount is not necessarily the complete internet cost. Decide which components need public access and inspect load balancing, NAT and database paths.](https://www.yilongcloud.top/en/help/articles/eip-network-plan/)[### Huawei Cloud International server sizing: 2 cores, 4 cores and memory

Choose capacity from application dependencies and workload. Beyond cores, memory and price, compare CPU architecture, disk performance, networking, connections and sustained-use behavior. These are starting points, not concurrency guarantees or fixed quotes.](https://www.yilongcloud.top/en/help/articles/server-sizing/)[### Huawei Cloud International region selection: geography, zones and registration

Choose a region using user locations, data requirements, product availability and network tests, then plan zones within it. Account registration country is different from deployment region. Proximity is useful but does not replace tests from actual user networks.](https://www.yilongcloud.top/en/help/articles/region-selection/)

Source: https://www.yilongcloud.top/en/help/articles/database-connectivity/
