# HELP \[Connecting to MySQL gives me an error\]

**URL:** <https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930>\
**Category:** Introduction to Data Engineering\
**Tags:** week-module-4\
**Created:** [August 14, 2025, 8:20am UTC](https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930 "2025-08-14T08:20:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vernard](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/vernard/32/124214_2.png) [@Vernard](https://community.deeplearning.ai/u/Vernard)\
**Post date:** [August 14, 2025, 8:20am UTC](https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930/1 "2025-08-14T08:20:31Z")

</div>

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“

---

<div class="post-metadata">

**Author:** ![Girijesh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/girijesh/32/37283_2.png) [@Girijesh](https://community.deeplearning.ai/u/Girijesh)\
**Post date:** [August 14, 2025, 9:04am UTC](https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930/2 "2025-08-14T09:04:52Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vernard](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/vernard/32/124214_2.png) [@Vernard](https://community.deeplearning.ai/u/Vernard)\
**Post date:** [August 14, 2025, 9:18am UTC](https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930/3 "2025-08-14T09:18:24Z")

</div>

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”``

---

<div class="post-metadata">

**Author:** ![Vernard](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/vernard/32/124214_2.png) [@Vernard](https://community.deeplearning.ai/u/Vernard)\
**Post date:** [August 14, 2025, 9:24am UTC](https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930/4 "2025-08-14T09:24:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Girijesh](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/girijesh/32/37283_2.png) [@Girijesh](https://community.deeplearning.ai/u/Girijesh)\
**Post date:** [August 14, 2025, 9:34am UTC](https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930/5 "2025-08-14T09:34:05Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Vernard](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/vernard/32/124214_2.png) [@Vernard](https://community.deeplearning.ai/u/Vernard)\
**Post date:** [August 14, 2025, 10:13am UTC](https://community.deeplearning.ai/t/help-connecting-to-mysql-gives-me-an-error/872930/6 "2025-08-14T10:13:11Z")

</div>

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

Encountering new problems” Etl job run”

 ![image](https://global.discourse-cdn.com/dlai/original/3X/8/4/84e53f7aeca37487c5bd7b661f5583c92362d357.png)
