Code Monkey home page Code Monkey logo

Comments (5)

Yurunsoft avatar Yurunsoft commented on May 18, 2024

mysql版本是多少,表是通过什么工具创建的?navicat还是命令行导入?

from imi.

Yurunsoft avatar Yurunsoft commented on May 18, 2024

imi中的mysql连接配置里,charset设置的是什么?

from imi.

Mjc960512 avatar Mjc960512 commented on May 18, 2024

imi里配置的时候charset=utf8,mysql的表有的是命令行导入,也有的是navicat创建的。

mysql的信息是:

mysql> select version();
+-----------+
| version() |
+-----------+
| 5.7.23    |
+-----------+
1 row in set (0.24 sec)

mysql> SHOW VARIABLES LIKE 'character%';
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | utf8mb4                    |
| character_set_connection | utf8mb4                    |
| character_set_database   | utf8                       |
| character_set_filesystem | binary                     |
| character_set_results    | utf8mb4                    |
| character_set_server     | latin1                     |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.21 sec)

from imi.

Yurunsoft avatar Yurunsoft commented on May 18, 2024

我这边没法复现,检查下导入时候的连接编码、sql文件编码是否是utf8

from imi.

Yurunsoft avatar Yurunsoft commented on May 18, 2024

经确认是 Mysqli 编码设置不生效问题,已修复,可以使用 dev-dev 版本测试先

from imi.

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.