-
-
Save luisalcarasr/32f8dd15c32073be6e1d706829663f21 to your computer and use it in GitHub Desktop.
Remove unix socket plugin from MariaDB 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE mysql; | |
UPDATE user SET plugin = "" WHERE user = "root"; | |
UPDATE user SET password = PASSWORD("root") WHERE user = "root"; | |
FLUSH PRIVILEGES; |
If you have this error ERROR 1054 (42S22): Unknown column 'password' in 'field list'
so execute:
UPDATE user SET authentication_string=PASSWORD("root") WHERE user="root";
UPDATE user SET plugin="mysql_native_password" WHERE User='root';
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can replace the
PASSWORD
function parameter by your password.