当前位置:网站首页>[ERR] 1273 - Unknown collation: ‘utf8mb4_0900_ai_ci‘
[ERR] 1273 - Unknown collation: ‘utf8mb4_0900_ai_ci‘
2022-07-21 19:34:00 【对对对呢】
1、mysql5.7运行sql文件报错
[ERR] 1273 - Unknown collation: 'utf8mb4_0900_ai_ci'
报错原因: 生成转储文件的数据库版本为8.0,要导入sql文件的数据库版本为5.6,因为是高版本导入到低版本,引起1273错误 。
2、解决方法:
1)、打开sql文件,将文件中的所有
utf8mb4_0900_ai_ci
替换为utf8_general_ci
utf8mb4
替换为utf8
保存后再次运行sql文件,运行成功。
2)、还可以直接打开sql文件复制内容,Navicat中新建查询直接运行语句(出现表没有运行完的情况使用)
边栏推荐
- 11-GuliMall 后台管理中商品系统的分类维护
- Lihuadaiyu music player 3.91 source code is open source (add background music to the website)
- Energy principle and variational method note 10: virtual displacement principle
- CIN recovers from the error and continues to read in
- etcdv3实战·常用操作模型封装及详细实现
- 为什么web中pom的servlet依赖scope为provided
- Dialog manager Chapter 1: warm up first
- Halcon series (2): hyperboxes
- D is a rectangle
- Basic operation introduction of mongodb, creation and deletion of database / table, and data query
猜你喜欢
std::thread 與類對象結合
The most complete summary of MySQL data types in history - (first)
Energy principle and variational method note 08: derivation of virtual work principle
mysql中的四大运算符种类汇总20多项,用了三天三夜来整理的,还不赶快收藏
Eolink ——通过文档驱动,快速开发接口
史上最全的mysql数据类型汇总(下)
Dynamically add and modify the appender of logback (to dynamically adjust the log level and appender parameters)
1307_ Summary of crystal oscillator test in embedded design
How to use document tools for API management?
新品发布:总线视频监控专用VGA显示驱动模组
随机推荐
QDataStream
Seven best ways to overcome procrastination
[cicadaplayer] vs2019 (v142) x64 ffmepg: error c2169: "lrintf": internal function, cannot be defined
多线程 里面 使用AtomicInteger类,保证线程安全
如何使用文档工具进行 API 管理?
2022年最新湖北建筑八大员(机械员)模拟考试题库及答案
pango logos 双启动
halcon系列(2):超级盒子(Hyperboxes)
Embedded bus and communication
Dialog manager Chapter 1: warm up first
代码的一些优化
Energy principle and variational method note 02: variational problems variational and differential operations can exchange ordered Euler equations
封裝
How to choose the appropriate data type for fields in MySQL?
克服拖延症的7种最佳方法
linux如何查询oracle错误日志
Request获取请求行数据和请求头数据
What is the fastapi asynchronous framework? (comprehensive understanding)
金仓数据库KMonitor使用指南--2. 监控指标
企业源代码防泄密工作该如何开展