Skip to content

Can't get this running. Keep getting auth error #2022

Closed
@Slyke

Description

@Slyke

Hello, not sure if this has been reported or if it's just my local environment. I'm running MySQL inside Docker for Windows.

I'm using the latest docker image for MySQL and latest MySQL npm package. To simplify things, I've copied the code from the readme, but when I try to connect, I keep getting:

mysql-test  |   { Error: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client
mysql-test  |     **** REMOVED STACK TRACE ****
mysql-test  |   code: 'ER_NOT_SUPPORTED_AUTH_MODE',
mysql-test  |   errno: 1251,
mysql-test  |   sqlMessage: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client',
mysql-test  |   sqlState: '08004',
mysql-test  |   fatal: true }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions