Connect to a AWS RDS mySQL database example

Thanks Randy.
I was trying to use this code snippet Connect to a database - #9 by blob123 in the first place … but it didn’t work either.
Actually I have issues running queries on mySQL using a AWS RDS DB from Streamlit… if anyone has experienced it already.