Code Monkey home page Code Monkey logo

Comments (4)

shizhengchao avatar shizhengchao commented on August 25, 2024 1

配置mysql_native_password身份验证插件的密码. 如下:

ALTER USER 'root'@'dcmaster02' IDENTIFIED WITH mysql_native_password BY 'xxx'; flush privileges;

修改完成后,就要用修改后的这个密码了。改成和原来一样也可以

from flink-cdc.

zanmeipaul avatar zanmeipaul commented on August 25, 2024

@shizhengchao 不能直接支撑 caching_sha2_password 插件吗?

from flink-cdc.

shizhengchao avatar shizhengchao commented on August 25, 2024

我大致去了解了下mysql8的新的密码验证方式。目前flink-cdc是基于debezium去获取binlog的,而debezium获取 mysql的binlog使用了 com.github.shyiko:mysql-binlog-connector-java:0.20.1这个包,它里面也有提到过这个问题: #240。也有人提了PR,但是目前还没有merge,
所以目前的解决办法就是我上面说的那种,改成原来的mysql_native_password.

from flink-cdc.

zanmeipaul avatar zanmeipaul commented on August 25, 2024

@shizhengchao 谢谢你的回答,按照修改密码查询的方式成功了

from flink-cdc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.