Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. ofir@ofir-Lenovo-Flex-2-15:~/Desktop/Comunications/testNodemySQL$ node ./demo_db_connection.js
  2. /home/ofir/node_modules/mysql/lib/protocol/Parser.js:437
  3. throw err; // Rethrow non-MySQL errors
  4. ^
  5.  
  6. Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
  7. at Handshake.Sequence._packetToError (/home/ofir/node_modules/mysql/lib/protocol/sequences/Sequence.js:47:14)
  8. at Handshake.ErrorPacket (/home/ofir/node_modules/mysql/lib/protocol/sequences/Handshake.js:123:18)
  9. at Protocol._parsePacket (/home/ofir/node_modules/mysql/lib/protocol/Protocol.js:291:23)
  10. at Parser._parsePacket (/home/ofir/node_modules/mysql/lib/protocol/Parser.js:433:10)
  11. at Parser.write (/home/ofir/node_modules/mysql/lib/protocol/Parser.js:43:10)
  12. at Protocol.write (/home/ofir/node_modules/mysql/lib/protocol/Protocol.js:38:16)
  13. at Socket.<anonymous> (/home/ofir/node_modules/mysql/lib/Connection.js:91:28)
  14. at Socket.<anonymous> (/home/ofir/node_modules/mysql/lib/Connection.js:525:10)
  15. at Socket.emit (events.js:210:5)
  16. at addChunk (_stream_readable.js:309:12)
  17. --------------------
  18. at Protocol._enqueue (/home/ofir/node_modules/mysql/lib/protocol/Protocol.js:144:48)
  19. at Protocol.handshake (/home/ofir/node_modules/mysql/lib/protocol/Protocol.js:51:23)
  20. at Connection.connect (/home/ofir/node_modules/mysql/lib/Connection.js:119:18)
  21. at Object.<anonymous> (/home/ofir/Desktop/Comunications/testNodemySQL/demo_db_connection.js:9:5)
  22. at Module._compile (internal/modules/cjs/loader.js:959:30)
  23. at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10)
  24. at Module.load (internal/modules/cjs/loader.js:815:32)
  25. at Function.Module._load (internal/modules/cjs/loader.js:727:14)
  26. at Function.Module.runMain (internal/modules/cjs/loader.js:1047:10)
  27. at internal/main/run_main_module.js:17:11 {
  28. code: 'ER_NOT_SUPPORTED_AUTH_MODE',
  29. errno: 1251,
  30. sqlMessage: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client',
  31. sqlState: '08004',
  32. fatal: true
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement