Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql8连接问题 #173

Closed
4 tasks done
hugodel93 opened this issue Dec 30, 2021 · 2 comments
Closed
4 tasks done

mysql8连接问题 #173

hugodel93 opened this issue Dec 30, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@hugodel93
Copy link

hugodel93 commented Dec 30, 2021

Verify steps

  • #182
  • Latest 我已经使用 最新源码 测试过,问题依旧存在
  • Core 这是 QianDao 框架存在的问题,并非我所使用的 QianDao早期版本(如 20210628及之前版号 等)或模板的特定问题
  • Meaningful 我提交的不是无意义的 催促更新或修复 请求

QianDao Version

latest

Bug on OS

Linux

Bug on Platform

Docker/Linux 64位

To Reproduce

使用提供的mysql启动方式

Describe the Bug

我使用mysql 8,将连接用户加密方式改为“mysql_native_password”并且确保已生效
但是启动报错mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

QianDao config

No response

QianDao log

mysql.connector.errors.NotSupportedError: Authentication plugin 'caching_sha2_password' is not supported

Expected behavior

希望可以说明对mysql 8的连接配置

Screenshots

No response

@hugodel93 hugodel93 added the bug Something isn't working label Dec 30, 2021
@hugodel93 hugodel93 changed the title [Bug] mysql8连接问题 mysql8连接问题 Dec 30, 2021
@a76yyyy
Copy link
Contributor

a76yyyy commented Dec 30, 2021

请更新源码,并在需要使用MySQL时,
设置mysql_url or JAWSDB_MARIA_URLmysql://用户名:密码@hostname:port/数据库名?auth_plugin=xxx

@a76yyyy
Copy link
Contributor

a76yyyy commented Dec 31, 2021

可以了么?我先关闭这个issue了,如果还是不行的话请再次re-open这个issue

@a76yyyy a76yyyy closed this as completed Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants