MySQL RDS Access issues

0

Hi,

We've recently hit an odd connection problem where we cannot connect to an RDS instance from some IP addresses, even though they're listed in the security group rules. We can access from other IPs (also listed), not sure if I'm missing something new in the setup. We cannot even telnet from the affected addresses.

The issue began after we migrated to 8.0.36 a few weeks ago and updated the certificate at the same time. Previously the connections worked without issue for many months so we're confused.

Any pointers?

Thanks.

it_tdg
질문됨 한 달 전116회 조회
3개 답변
0

Hello.

Have you checked the RDS MySQL error log?
For example, if an error like "Host 'yyy.yyy.yyy.yyy' is blocked because of many connection errors;" occurs, it may be blocked due to too many connection failures.
If such an error occurs, it may be resolved by executing the "FLUSH HOSTS;" command as described in the document below.
https://repost.aws/ja/knowledge-center/rds-blocked-host-error

profile picture
전문가
답변함 한 달 전
profile pictureAWS
전문가
검토됨 한 달 전
0

Hi - Thank you for your reply.

I don't see any error messages like that.

If I try to connect to MySQL I see the following response:

ERROR 2002 (HY000): Can't connect to MySQL server on '---.---.rds.amazonaws.com' (115)

The exact command works from a different location.

Similarly with telnet:

telnet ---.---.rds.amazonaws.com 111111

Trying 3.11.---.---...

telnet: connect to address 3.11.---.---:

Connection refused

But from a different IP, I see a connection:

telnet ---.---.rds.amazonaws.com 111111

Trying 3.11.---.---...

Connected to ---.---.compute.amazonaws.com.

Thanks, Gary.

it_tdg
답변함 한 달 전
0

The RDS MySQL error log just shows the following warning:

"Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'"

I think our access to the RDS instance is being blocked at a higher level, ie before we hit the RDS instance - is there any way we can find out if this is the case?

it_tdg
답변함 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠