Git Product home page Git Product logo

Comments (8)

 avatar commented on June 7, 2024 3

hi, @elliot-cj @DingSoung
@kakuilan 所说, 在my.cnf中把max_allowed_packet改大点即可.
我在的环境是docker MySQL5.7,
使用mysql命令行输入:

set global max_allowed_packet = 200*1024*1024

重连后就可以导入了

from china_area_mysql.

kakuilan avatar kakuilan commented on June 7, 2024

把mysql配置的max_allowed_packet改大点,比如
max_allowed_packet=1024M

from china_area_mysql.

erdongmaqiao avatar erdongmaqiao commented on June 7, 2024

这个问题解决了么,怎么解决的啊

from china_area_mysql.

jingyuexing avatar jingyuexing commented on June 7, 2024

把mysql配置的max_allowed_packet改大点,比如
max_allowed_packet=1024M

编码要不要换成UTF-8啊

from china_area_mysql.

jingyuexing avatar jingyuexing commented on June 7, 2024

使用navicat链接本地数据库,也更改了max_allowed_packet但是从第一行就开始报错了,换到了Ubuntu系统,直接执行source 命令,也是直接报错

from china_area_mysql.

jingyuexing avatar jingyuexing commented on June 7, 2024

已经解决了,在命令行当中执行set global max_allowed_packet = 1024*1024*1024;后就行了

from china_area_mysql.

FightingFranky avatar FightingFranky commented on June 7, 2024

Incorrect string value: '\xA7\x94\xE4\xBC\x9A' for column 'name' at row 1 还是出现了字符串不兼容的情况

from china_area_mysql.

kakuilan avatar kakuilan commented on June 7, 2024

Incorrect string value: '\xA7\x94\xE4\xBC\x9A' for column 'name' at row 1 还是出现了字符串不兼容的情况

字符编码

from china_area_mysql.

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.