My Oracle Support Banner

Restoring Backup From mysqldump does not Recreate All Views + Error 1449 + SQLState HY000 + The User Specified as a Definer does not Exist (Doc ID 1365866.1)

Last updated on SEPTEMBER 08, 2021

Applies to:

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

Symptoms

When attempting to load the dump of all databases from mysqldump into a freshly installed MySQL instance, the following error occurs.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
 Reproducing the Issue
Changes
Cause
Solution
 Solution
 Workarounds
 Split the Dump Into Two
 Manually Insert a FLUSH PRIVILEGES Into the Dump
 Insert a FLUSH PRIVILEGES On the Fly
 Preload the mysql Database
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.