当前位置:网站首页>ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
ERROR 1064 (42000) You have an error in your SQL syntax; check the manual that corresponds to your
2022-07-31 04:44:00 【sebeefe】
When importing .sql files in MySQL
via
use datasource C:/info.sql
use data (database name is data)
source C:/info.sql (put the .sql file into a less complicated folder in advance, preferably without Chinese in the path)
Encountered ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '浼arg憳撖峘varchar(255) DEFAULT NULL,
`hoу埆` varchar(255) DEFAULT NUL' at line 3
It seems to be able to read two lines, but there is a problem with the third line
At first I thought there was a problem with the .sql file, but later I thought it might be a coding problem
I read this article on SQL-mysql setting utf8 encoding method(83 messages)>Read the fourth part and be inspired
Add a line of code before importing the .sql file set names utf8;
At this time, when you import again, you will be happy to see the marquee that makes the data imported.
Let me introduce myself first. The editor graduated from Shanghai Jiaotong University in 2013. I worked in a small company and went to big factories such as Huawei and OPPO. I joined Alibaba in 2018, until now.I know that most junior and intermediate java engineers want to upgrade their skills, they often need to explore their own growth or sign up to study, but for training institutions, the tuition fee is nearly 10,000 yuan, which is really stressful.Self-learning that is not systematic is very inefficient and lengthy, and it is easy to hit the ceiling and the technology stops.Therefore, I collected a "full set of learning materials for java development" for everyone. The original intention is also very simple. I hope to help friends who want to learn by themselves but don't know where to start, and at the same time reduce everyone's burden.Add the business card below to get a full set of learning materials
边栏推荐
- MATLAB/Simulink&&STM32CubeMX工具链完成基于模型的设计开发(MBD)(三)
- 数字经济时代的开源数据库创新 | 2022开放原子全球开源峰会数据库分论坛圆满召开
- MySQL数据库安装配置保姆级教程(以8.0.29为例)有手就行
- 三子棋的代码实现
- 开放原子开源基金会秘书长孙文龙 | 凝心聚力,共拓开源
- ERROR 2003 (HY000) Can‘t connect to MySQL server on ‘localhost3306‘ (10061)
- 【C语言】操作符详解
- 行业落地呈现新进展 | 2022开放原子全球开源峰会OpenAtom OpenHarmony分论坛圆满召开
- C language from entry to such as soil, the data store
- Open Source Database Innovation in the Digital Economy Era | 2022 Open Atom Global Open Source Summit Database Sub-Forum Successfully Held
猜你喜欢
VScode+ESP32快速安装ESP-IDF插件
"A daily practice, happy water problem" 1331. Array serial number conversion
PWN ROP
Unity教程:URP渲染管线实战教程系列【1】
STM32HAL库修改Hal_Delay为us级延时
The input input box displays the precision of two decimal places
Exsl file preview, word file preview web page method
Learning DAVID Database (1)
数字经济时代的开源数据库创新 | 2022开放原子全球开源峰会数据库分论坛圆满召开
Why don't you programmers make a living off your own projects?And have to work for someone else?
随机推荐
MySQL数据库增删改查(基础操作命令详解)
Explanation of
产学研用 共建开源人才生态 | 2022开放原子全球开源峰会教育分论坛圆满召开
XSS靶场(三)prompt to win
[R language] [3] apply, tapply, lapply, sapply, mapply and par function related parameters
Regarding the primary key id in the mysql8.0 database, when the id is inserted using replace to be 0, the actual id is automatically incremented after insertion, resulting in the solution to the repea
MySQL 8.0.30 GA
C# 实现PLC的定时器
手把手实现图片预览插件(三)
MySQL database must add, delete, search and modify operations (CRUD)
Unity URP渲染管线摄像机核心机制剖析
开源社区三十年 | 2022开放原子全球开源峰会开源社区三十年专题活动圆满召开
MATLAB/Simulink & & STM32CubeMX tool chain completes model-based design development (MBD) (three)
STM32HAL库修改Hal_Delay为us级延时
el-image tag doesn't work after binding click event
聚变云原生,赋能新里程 | 2022开放原子全球开源峰会云原生分论坛圆满召开
Solved (the latest version of selenium framework element positioning error) NameError: name 'By' is not defined
Exsl file preview, word file preview web page method
visual studio 那些提高效率的快捷键,总结(不时更新)
unity2d game