Why can t I connect to AWS RDS

0 votes

0

I'm trying to connect to my new AWS RDS I just made. I followed the "Setting up for RDS" (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SettingUp.html), then the "Tutorial: Create an Amazon VPC for Use with a DB Instance" (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Tutorials.WebServerDB.CreateVPC.html), then the "Creating a MySQL DB Instance and Connecting to a Database on a MySQL DB Instance" (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.CreatingConnecting.MySQL.html) but I'm not able to connect to my DB from my computer or my dedicated server on the web.

Following the previous docs, I have this config :

My DB instance DB

The VPC VPC

The subnetworks Subnets

Example of subnetwork's details : SubnetExample

The first security group : Security

The second security group, calling the first one : Security2

For the first security group, I put both my private IP and the IP of my dedicated server, and their ports. I even tried to put 0.0.0.0/0 for SSH and TCP, it didn't work either.

For the DB instance, I tried to add the two security group instead of only the db-securitygroup, it didn't work. I tried to use a different Port for the DB instance, it didn't work.

With MySQL Workbench or with PDO on my dedicated server, I'm unable to connect to the DB : "SQLSTATE[HY000] [2003] Can't connect to MySQL server on [...]"

Mar 1 in Others by Edureka
• 13,640 points
130 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Others

0 votes
0 answers
0 votes
1 answer
0 votes
0 answers
0 votes
0 answers

Exporting a table from Amazon RDS into a CSV file

I have a MySQL database running in Amazon ...READ MORE

Mar 2 in Power BI by Edureka
• 13,640 points
333 views
0 votes
1 answer

Exporting a table from Amazon RDS into a CSV file

Presumably, you're attempting to export data from ...READ MORE

answered Mar 3 in Others by gaurav
• 18,960 points
738 views
0 votes
1 answer

AWS RDS Role type: Master vs Instance

AWS Identity and Access Management (IAM) is ...READ MORE

answered Mar 15 in Others by gaurav
• 18,960 points
94 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP