MySQL ERROR 1435 Trigger In Wrong Schema Importing Into Different Database (Doc ID 2276539.1)

Last updated on JUNE 13, 2017

Applies to:

MySQL Server - Version 5.0 and later
Information in this document applies to any platform.

Symptoms

When trying to create a trigger where the target table is in a different schema, the following error occurs:

This may for example happen when trying to restore a mysqldump backup to a different schema name than where the tables originally were located.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms