vscode-mysql
vscode-mysql copied to clipboard
ER_NOT_SUPPORTED_AUTH_MODE
Using MySQL 8.0.12 on a Mac, this error occurs when connecting to a local instance.
ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client.
Try running this on your MySQL client: ALTER USER '<your_user>'@'localhost' IDENTIFIED WITH mysql_native_password BY '<your_password>';
Try running this on your MySQL client: ALTER USER '<your_user>'@'localhost' IDENTIFIED WITH mysql_native_password BY '<your_password>';
That worked with me, thank you
thank you,you helped so much
Thanks for the help. Here is a link to know more how this works.
thanks, it works!
great
ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'password';
flush privileges;
```
Worked for me!
localhost can be %
Nice.
Thanks a lot, it works!
Thanks a lot!!!!
It works! Thank you!
Worked like a charm!
ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'password'; flush privileges;
Worked for me!
Worked for me too!!
Thanks, It worked for me too
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '
worked for me!!
Try running this on your MySQL client: ALTER USER '<your_user>'@'localhost' IDENTIFIED WITH mysql_native_password BY '<your_password>';
i did this but now i cant connect on mysql workbench to the root connection and it didnt fix the problem for me
Nice one. After typing those commands you need to exit and enter VS again
Thanks you it worked!
That just gets me
ALTER : The term 'ALTER' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'password'
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (ALTER:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Using Visual Studio's terminal and PowerShell.
this worked for me, mysql running in local docker container:
ALTER USER 'root' IDENTIFIED WITH mysql_native_password BY 'supersecret';
Nice, this works.
Try running this on your MySQL client: ALTER USER '<your_user>'@'localhost' IDENTIFIED WITH mysql_native_password BY '<your_password>';
why?
ALTER USER 'user' IDENTIFIED WITH mysql_native_password BY 'password';
worked for me
@KevinSmild Thank you very much, was struggling to connect from long