doukeyong3746487 2016-06-28 23:13
浏览 37

phpMyAdmin - mySQL - 将数据导入wordpress时出错 - 什么是整理?

I am having problems importing data what does collation mean?

The reason I ask is I keep getting an error importing data.. So I am looking at my wp-config file and the collation reads as follows.

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8mb4');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

So I go over to phpMyAdmin and the Server charset is UTF-8 Unicode (utf8) I don't know if this has any meaning but in the server connection collation box it reads utf8mb4_unicode_ci.

Here's where I think the problem lies but I am a total newbie with mySQL. My main wordpress database has collation type latin1_swedish_ci next to it - under collation.

When I click into the database they all have utf8 charsets different ones some utf8mb4_unicode_ci and some utf8_general_ci - does this mean the database is set up incorrectly?

Could this be the cause of my import problems and how do I fix it.

  • 写回答

2条回答 默认 最新

  • 普通网友 2016-06-29 02:03
    关注

    here some from wiki :

    Collation is the assembly of written information into a standard order. 
    Many systems of collation are based on numerical order or alphabetical 
    order, or extensions and combinations thereof.
    

    my opinion, it is the character set for the database... and if you want to import your database to another place, the collation must be the same / both servers having the same collation,,,

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比
  • ¥15 winform的chart曲线生成时有凸起
  • ¥15 msix packaging tool打包问题
  • ¥15 finalshell节点的搭建代码和那个端口代码教程
  • ¥15 Centos / PETSc / PETGEM
  • ¥15 centos7.9 IPv6端口telnet和端口监控问题
  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作