Dump import fails due to cloud database connection failure

Hi,
My Keycloak application is running in a container and it is connected to a remote cloud database (the provider is OVH).
When I run the command to import my data it fails with the error “failed to connect to database”.
Can you please help me?
Cordially.
Joseph