Is there a way to specify my connection with SQLAlchemy to an AWS RDS Aurora Serverless MySQL database instance without a Secrets Manager ARN? I have the database username, password, endpoint, ARN, etc., and ideally I would initialize an engine, then use df.to_sql()
to load a DataFrame into a table on the Aurora instance.
...
else:
engine = create_engine([WHAT DO I SPECIFY HERE?])
with engine.connect() as conn:
df.to_sql([CODE TO APPEND TO EXISTING TABLE HERE])...