-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MariaDB client #2001
Comments
We could add more auth methods, of course. What auth method is your server using? |
Where can I see which auth method my server uses ? (Sorry, I'm not that smart when it comes to MySQL & servers) |
No problem. I'm not at a computer right now, but I think it is one of the columns in the mysql.user system table row for the user you are trying to authenticate as. |
duplicate of #1507 |
well, kind of, need to confirm if |
just run that mySQL query command in workbench or other mySQL client : ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password' |
is there a solution for this ? other than ALTERing USER ? |
This issue is specific to the original report issue, which is to support the |
I'm trying to connect my Discord bot to my server's MySQL database, but everytime I try to run the bot I get the following error:
let conn = mysql.createConnection({ insecureAuth : true, host : config.mysql.host, user : config.mysql.user, password : config.mysql.password, database : config.mysql.database });
config.json:
{ "token":"bottoken", "prefix":"m!", "mysql": { "host":"localhost", "user":"root", "password":"apassword!", "database":"aphi" } }
The text was updated successfully, but these errors were encountered: