-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support SHOW CREATE USER as in MySQL 5.7 #7733
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/compatibility
Comments
Parser support was added in #8970 @lnhote @tiancaiamao Do you have current plans to implement in TiDB, or would you like me to take a look at it? |
I have no plan for it yet, go ahead if you'd like to @morgo |
I can try it @morgo. |
@lnhote Cool! Thanks! |
Excellent, thanks! |
Is this failure on CI related to this issue?
It is discovered in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/compatibility
Feature Request
Is your feature request related to a problem? Please describe:
MySQL 5.7 supports the syntax
SHOW CREATE USER
. It is useful for logical dumpers to be able to recreate a user with various flags (since restoring to the tables should be discouraged, and the format can change.)Describe the feature you'd like:
From MySQL 5.7.19:
As a secondary issue, TiDB cannot currently import this user:
Describe alternatives you've considered:
An alternative would be to create an
information_schema
view with theCREATE USER
of all users.. but for compatibility reasons as described here makes the most sense.Teachability, Documentation, Adoption, Migration Strategy:
This will mainly be used by logical dumpers. Thus, this FR relates to #7714
The text was updated successfully, but these errors were encountered: