Definer ('something'@'%') does not exist error

Created on 1 August 2024, 10 months ago

Problem/Motivation

When using Dynamic Entity Reference 4x you may get the Definer ('something'@'%') does not exist error.

Steps to reproduce

  1. Export a database from server that does not strip the database user from the TRIGGER
  2. Import into ddev
  3. Attempt to add a scheduled transition

Proposed resolution

None, more FYI for others that come across this. You can fix this yourself *if you have no scheduled transitions* pending by running:

ddev drush pm-uninstall scheduled_transitions
ddev drush config-import

This invokes the field update event listener in Dynamic Entity Reference and the TRIGGER gets recreated.

If you have scheduled transitions you should either:

  • Ensure your database dump has the username removed from the TRIGGER creation
  • Delete your scheduled transitions

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

💬 Support request
Status

Closed: won't fix

Version

2.7

Component

Miscellaneous

Created by

🇬🇧United Kingdom scott_euser

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

Comments & Activities

Production build 0.71.5 2024