Skip to content
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

User Insert Not Compatible with 5.7 #5

Open
anton-dealmeida opened this issue Oct 21, 2017 · 1 comment
Open

User Insert Not Compatible with 5.7 #5

anton-dealmeida opened this issue Oct 21, 2017 · 1 comment

Comments

@anton-dealmeida
Copy link

INSERT INTO user (Host, User, Password, Select_priv,Insert_priv,Update_priv, Delete_priv, Create_tmp_table_priv, Lock_tables_priv,Execute_priv) VALUES ('localhost','idem',PASSWORD('demo'),'Y','Y','Y','Y','Y','Y','Y');

With the release of MySQL 5.7 the Password column was removed and is now known as authentication_string.
There are also a lot of new required columns, ssl_cipher, x509_issuer, x509_subject, etc...
Is this the best way to add the user?

@malavolti
Copy link
Owner

Thank you!

What changes do you suggest to do the same in the right way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants