How to Copy an Entire Database Including it's Privileges/Grants
(Doc ID 1474915.1)
Last updated on DECEMBER 26, 2016
Applies to:MySQL Server - Version 5.0 and later
Information in this document applies to any platform.
How to safely copy the tables from one database to another, including all privileges?
The most commonly used traditional mysqldump tool included with the MySQL server has no functionality for copying database/object-specific user privileges, and is thus not suitable for this task unless you are dumping and restoring the entire server with --all-databases.
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