Not able to connect to my sql instance to complete my assignment

Data Engineering Programming assignment
I am getting the below while trying to connect to my sql instance.
ERROR 2005 (HY000): Unknown MySQL server host ‘XXXXXXXXXXXX’ (-2)
Not sure what went wrong. Please help.

Hey @anand-thukkaram
Have you run the aws rds describe-db-instances --db-instance-identifier <MySQL-DB-name> --output text --query "DBInstances[].Endpoint.Address" command to get the MySQL endpoint? You are supposed to replace the placeholder <MySQLEndpoint> with the output from the mentioned command.