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.

Goal

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

Solution

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

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