2

I have a MySQL database on AWS. Here are some of the settings:

  • DB instance id - database-2
  • Endpoint - database-2.***.eu-central-1.rds.amazonaws.com
  • Port - 3306
  • Public accessibility - true
  • DB name - testdb
  • Master username - admin

Now I am trying to connect to that database using DBeaver. Here is the screenshot of the settings I used:

settings I used.

I am getting "connection timed out" error. I tried with Database: testdb, but I get the same error. What can I do to fix that?

Note: DBeaver works fine with other databases.

John K. N.
  • 1,955
  • 1
  • 16
  • 26
Rasmond
  • 131
  • 1
  • 1
  • 7

1 Answers1

1

Turns out the reason was inbound rules set for security group. Here is a detailed answer about that: https://serverfault.com/a/656119/567809

The proper connection details for DBeaver for me were:

  • Server Host: Endpoint address
  • Port: 3306
  • Database: DB name
  • User name: Database master username
  • Password: Database master password
Rasmond
  • 131
  • 1
  • 1
  • 7