- Newest
- Most votes
- Most comments
The error messages you're seeing are related to the test connection functionality in AWS Glue, which is known to use older drivers that may produce these log messages. These particular error messages don't necessarily indicate a connection problem, but rather issues with the logging format specifiers.
To troubleshoot the connection issue between AWS Glue and your RDS MySQL instance, consider the following steps:
-
Verify that the security group associated with your RDS MySQL instance allows inbound connections from the AWS Glue service. Ensure that the appropriate ports (typically 3306 for MySQL) are open.
-
Check if your RDS MySQL instance is in a private subnet. If so, make sure that AWS Glue has the necessary network access, possibly through a NAT Gateway.
-
Confirm that the IAM role used by AWS Glue has the required permissions to access the RDS MySQL instance.
-
Instead of relying solely on the test connection feature, try creating an actual AWS Glue job or notebook to test the connection. This approach uses more up-to-date drivers and may provide more accurate results.
-
If you're still encountering issues, review the VPC configuration to ensure proper routing between AWS Glue and your RDS MySQL instance.
-
Consider checking the RDS MySQL instance logs for any connection-related errors that might provide more insight into the issue.
If the problem persists after trying these steps, you may need to engage AWS support for further assistance, as there could be more complex networking or configuration issues at play.
Sources
Can't create Glue Connection to RDS MySQL - [Error] Failed to test connection due to FAILED status. | AWS re:Post
Troubleshooting connections to your MySQL DB instance - Amazon Relational Database Service
Relevant content
- asked 2 years ago
- asked 7 months ago
- AWS OFFICIALUpdated 13 days ago
- AWS OFFICIALUpdated 18 days ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 4 months ago