Skip to content

I can't connect to MySQL 8 - ER_NOT_SUPPORTED_AUTH_MODE #3525

@maxacarvalho

Description

@maxacarvalho

I'm trying to load the project locally using the Docker command, when trying to connect to my local MySQL 8 database I get the following error:

Runtime Error
Cube.js was unable to connect to the specified database.

The database returned the following error:


>Database Error

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

It seems to me that the client used by Cube does not support MySQL 8 authentication method.

CleanShot 2021-10-07 at 22 45 17@2x

Metadata

Metadata

Assignees

No one assigned

    Labels

    driver:mysqlIssues relating to the MySQL/MariaDB driverhelp wantedCommunity contributions are welcome.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions