2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
0
Hello,
You can achieve that using init_connect parameter as described here: https://aws.amazon.com/blogs/database/best-practices-for-configuring-parameters-for-amazon-rds-for-mysql-part-3-parameters-related-to-security-operational-manageability-and-connectivity-timeout/
Regards
beantwortet vor 2 Jahren
0
Are you connecting with JDBC? If so, then autocommit is already the default in the JDBC driver and should be set there, like conn.setAutoCommit(false);
. AFAIK this cannot be done on the database level.
beantwortet vor 2 Jahren
Thank you for your response.
I was looking for ways to do that at the database level. Looks like that's not possible. Not sure how the triggers will work in this case. I can't test the triggers from the backend now.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 10 Monaten
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
Thank you so much for your reply.
I believe init_connection is only available in mySql. I don't see that parameter in Postgres parameters group.