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

error #2162

Closed
ghost opened this issue Jan 7, 2019 · 1 comment
Closed

error #2162

ghost opened this issue Jan 7, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 7, 2019

/Users/pavithra.m05/node_modules/mysql/lib/protocol/Parser.js:80
throw err; // Rethrow non-MySQL errors
^

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
at Handshake.Sequence._packetToError (/Users/pavithra.m05/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
at Handshake.ErrorPacket (/Users/pavithra.m05/node_modules/mysql/lib/protocol/sequences/Handshake.js:124:18)
at Protocol._parsePacket (/Users/pavithra.m05/node_modules/mysql/lib/protocol/Protocol.js:278:23)
at Parser.write (/Users/pavithra.m05/node_modules/mysql/lib/protocol/Parser.js:76:12)
at Protocol.write (/Users/pavithra.m05/node_modules/mysql/lib/protocol/Protocol.js:38:16)
at Socket. (/Users/pavithra.m05/node_modules/mysql/lib/Connection.js:91:28)
at Socket. (/Users/pavithra.m05/node_modules/mysql/lib/Connection.js:502:10)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at addChunk (_stream_readable.js:263:12)
--------------------
at Protocol._enqueue (/Users/pavithra.m05/node_modules/mysql/lib/protocol/Protocol.js:144:48)
at Protocol.handshake (/Users/pavithra.m05/node_modules/mysql/lib/protocol/Protocol.js:51:23)
at Connection.connect (/Users/pavithra.m05/node_modules/mysql/lib/Connection.js:118:18)
at Object. (/Users/pavithra.m05/Documents/node/DBModule.js:21:8)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)

@sidorares
Copy link
Member

hi @mpavithra240 , this is duplicate of #2002 . See #1962 to track progress of new auth implementation. As a temporary solution you can change auth mode back to pre-mysql8 ( example: #1507 (comment) )

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

No branches or pull requests

1 participant