My Oracle Support Banner

How to Backup the User Privileges as CREATE USER and/or GRANT Statements? (Doc ID 2042637.1)

Last updated on AUGUST 17, 2023

Applies to:

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


Backup the users and their privileges can be backed up as CREATE USER and/or GRANT statements.


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
 MySQL Shell
 MySQL 5.7 and Later
 MySQL 5.6 and Earlier
 For Export to MySQL 5.7 and Later

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