Mysql – I am trying to connect my Aiven database to python using the SQLalchemy module
from sqlalchemy import create_engine, text db_connection_str = "mysql+pymysql://user:pass@some_mariadb/dbname?charset=utf8mb4" #Don't worry while running the code , I had replaced all the values in the db_connection_str with my values engine = create_engine( db_connection_str, connect_args={ # "ssl": { # "ssl_ca": "/etc/ssl/cert.pem", # }…