Sample App to show how to use SSL / Secure connection to connect to AWS RDS using Python
$ docker build --build-arg DATABASE_URL=mysql2://user:[email protected]/gaurish -t mysql-python-app .
$ docker run -it --rm image id
Congrats, Connected to MySQL Server over SSL!
5.7.38-log
MySQL connection is closed