DEV Community 👩‍💻👨‍💻


Posted on • Originally published at

Docker, NodeJS, and MySQL 8

Seen this error when using Docker for NodeJS and MySQL 8?

Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
Enter fullscreen mode Exit fullscreen mode

It is most likely the wrong package is being used.


Make sure the MySQL server is fully running before trying to connect, otherwise an error like below

Error: connect ECONNREFUSED
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

18 Useful Github Repositories Every Developer Should Bookmark

>> Check out this classic DEV post <<