I want to test a connection to RDS from glue. For this I have created the RDS Mysql instance with public access and password and IAM authentication.
I have created a role with permissions to RDS, Glue (and S3 just in case):
[AmazonRDSFullAccess AmazonS3FullAccess AWSGlueServiceRole AmazonRDSDataFullAccess]
I also have a S3 endpoint already created from another connection for redshift
the security group has the self-referencing for glue and the 3306 port opened for the external connections (local PC)
when I test the connection I get the following error:
Check that your connection definition references your JDBC database with correct URL syntax, username, and password. Could not create connection to database server.
Exiting with error code 30
I can connect from my local machine to the instance with:
mysql -h database-1.xxx.eu-west-1.rds.amazonaws.com -P 3306 -u admin -p
could you tell me what I'm missing for the connection from glue?