AWS Aurora MySQL serverless: how to connect from MySQL Workbench

前端 未结 8 1203
忘掉有多难
忘掉有多难 2020-12-13 18:46

I was trying to use AWS Aurora Serverless for MySQL in my project, but I am impossible to connect to it, though I have the endpoint, username, password.

What I have

8条回答
  •  春和景丽
    2020-12-13 19:09

    You should be using an EC2 instance that has access to your dbinstance.
    This EC2 instance should have port 22 opened for ssh.
    Now use port forwarding from local to EC2 to db instance.
    Now in your work bench give hostname 127.0.0.1 and port .

提交回复
热议问题