V
V
VaniLuksh2020-04-08 12:22:13
MySQL
VaniLuksh, 2020-04-08 12:22:13

Why might the connection to the AWS RDS database not work?

I am creating a database on AWS RDS. When you first created the database, mySQL specified VPC default, the connection was made.
Then I created another VPC, with Internet Gateway, public subnet with assign public IP, bound route table with 0.0.0.0/0 to internet gateway.
I changed the created VPC database to a new one, the security group chose default, but the connection to the database was lost.
After that, I decided to roll back and connect to the default VPC, but the connection did not appear.
Created a new database with default VPC - no connection. Public accessibility is enabled in all cases.
In the default security group, everything seems to be ok too, All traffic, all port, all protocol on 0.0.0.0/0
Network ACLs also allow on 0.0.0.0/0
connected both through datagrid and through mysql workbench the result is one
Region us-east

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Romanov, 2020-04-08
@VaniLuksh

You cannot connect to the RDS client from the desktop directly. Use SSH tunnel in workbench settings through your EC2 instance
5e8dca411dde6312024358.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question