cube-js/cube

I can't connect to MySQL 8 - ER_NOT_SUPPORTED_AUTH_MODE

已关闭

#3,525 创建于 2021年10月7日

 (14 条评论) (6 个反应) (0 位负责人)Rust (1,965 个派生)batch import
driver:mysqlhelp wanted

仓库指标

星标
 (19,563 个星标)
PR 合并指标
 (平均合并 5天 16小时) (30 天内合并 138 个 PR)

描述

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.

贡献者指南