Code Monkey home page Code Monkey logo

Comments (5)

agapple avatar agapple commented on May 14, 2024

mysqlbinlog工具解析一半的binlog数据文件,目前暂不支持直接做source导入

需要先用binlog to sql的工具,先转成完整的sql语句后导入polardb-x

from polardbx-sql.

lulu2panpan avatar lulu2panpan commented on May 14, 2024

mysqlbinlog解析出的内容,需要单独进行协议和语法层面的适配,暂时不支持类似原生mysql的直接导入能力,参见https://dev.mysql.com/doc/refman/8.0/en/binlog.html

from polardbx-sql.

lulu2panpan avatar lulu2panpan commented on May 14, 2024

分析了一下,--base64-output=decode-rows参数还是不能加的,通过这个参数decode出来的sql都是带注释的,进行导入的时候会被忽略掉,相当于啥都没做。原生导入能力正在规划中,暂时只能靠工具进行sql转换,再导入了

from polardbx-sql.

wuxuguang2022 avatar wuxuguang2022 commented on May 14, 2024

from polardbx-sql.

lulu2panpan avatar lulu2panpan commented on May 14, 2024

见上面回复内容,不加的话,解析出来的内容,需要内核尽心独立识别和适配,暂时还不支持

from polardbx-sql.

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.