mysql.user and different syntax between mysql and mariadb #757
Unanswered
hubiongithub
asked this question in
Ideas
Replies: 1 comment
-
|
@hubiongithub SGTM, though I'm not an expert. As far as I know, there's a check in the code used in a few places to handle the differences. Grep through it using "mariadb|mysql". Feel free to open an issue (and tackle it). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
in user.py there is a code block like:
in MariaDB 11.8 (or earlier) a new plugin "parsec" was added which when used results in an error as the code will use "BY" instead of "USING"
(whyever these two groups of people couldn't stick to one syntax :)
In 12.1 mariadb will add some sort of sha_256 plugin:
https://mariadb.com/docs/server/reference/plugins/authentication-plugins/authentication-plugin-sha-256
so distinction of what syntax to use might get messier and probably doesn't work on checking on plugin alone.
Does the code check on what server it is creating user ...? So it would be able to do something like
I'm not sure if that will make coding easier, but I suspect whenever there is a plugin called the same in both variants but uses a different syntax we will need a distinction between mariadb and mysql.
Thanks for all your hard work.
Beta Was this translation helpful? Give feedback.
All reactions