Update hook requires SUPER privileges

Created on 21 August 2023, over 1 year ago
Updated 2 April 2024, 9 months ago

On our fairly normal AWS Drupal platform, with shared a RDS MariaDB instance, the 8201 update hook throws a permissions error when trying to update to DER 4.0.0-alpha1 (as pas of a D10 upgrade):

[notice] Update started: dynamic_entity_reference_update_8201             
[error]  SQLSTATE[HY000]: General error: 1419 You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable): DROP TRIGGER IF EXISTS paragraph__field_custom_block_der_update; Array ()

I've not yet attempted a solution, but offhand I don't think Drupal should need SUPER privs and binary logging should be enabled on production databases as a matter of course, so probably others will his this problem too.

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇦🇺Australia cafuego

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024