HELP [Connecting to MySQL gives me an error]

INTRODUCTION …..WHEN DOING ASSIGNMENT 3

  • Module 4 Assignment 3

  • Description (include relevant info but please do not post solution code or your entire notebook) when trying to connect to mysql i get an error “Invalid endpoint: …..amazonaws.com“

1 Like

Dear @Vernard,

Welcome to the Community!

This happens when your AWS CLI configuration does not have a region set, or the region is incorrect.
The endpoint in the error message shows: https://rds..amazonaws.com

Notice the double dots rds..amazonaws.com — the region part is missing between them.


Keep Learning AI with DeepLearning.AI - Girijesh

1 Like

Thanks for the clarity, how do i then include which region since the command given is ``
aws rds describe-db-instances --db-instance-identifier --output text --query “DBInstances.Endpoint.Address”``

1 Like

Thanks finally got it to return the address.
Logged out and In after reboot

1 Like

Dear @Vernard,

I hope you’ve resolved the issue. If you’re still experiencing difficulties, please send your notebook file via DM for further assistance.


Keep Learning AI with DeepLearning.AI - Girijesh

1 Like

Thanks but i am unable to send a message via DM.

Encountering new problems” Etl job run”