当前位置:网站首页>MySQL troubleshooting information query (continuous update)
MySQL troubleshooting information query (continuous update)
2022-04-22 20:17:00 【atwdy】
[Err] 1290
error message :[Err] 1290 - The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
scene : Set the database table to txt The format is exported to windows Local error . [SQL]select * from tt into outfile 'C:\\tt.txt';
reason :mysql No permission to operate local folder
solve :1. Modify the permissions 2. The export folder is modified to C:/ProgramData/MySQL/MySQL Server x.x/Uploads/, You have permission to this folder by default .select * from tt into outfile 'C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Uploads\\tt.txt';
[Err] 1267
error message :[Err] 1267 - Illegal mix of collations (utf8mb4_0900_ai_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='
scene : When performing an association query on two tables, an error appears .[SQL]select * from t1 INNER JOIN t2 on t1.id = t2.id;
reason : An error is reported because the sorting rules of the two associated fields are inconsistent
solve : Unify the character sorting rules of two association tables ( Fields of all text types in the table, such as varchar、text、… The collation will automatically follow the table ).alter table Table name convert to character set utf8mb4 COLLATE utf8mb4_0900_ai_ci;[set The newly set character set and the sorting rules of the character set are shown later , Can be used for other ]
版权声明
本文为[atwdy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221913010858.html
边栏推荐
- 对话木瓜移动创始人沈思 l 从硅谷到北京
- 【H5】微信端H5页面制作
- Academician Mei Hong: how to construct artificial swarm intelligence
- C process runs the asynchronous echo of CMD command
- 2022年土建施工员题库精准小题库建设厅施工员
- Filebeat
- Solve the problem that the timeline does not match when the gold warehouse database kingbasees uses -- force rewind to forcibly pull up the standby machine
- 微服务架构从0到1,搭建全过程记录,手把手教学,连载中...
- Where should 2021 fresh graduates go?
- 2022-01-12 wechat applet debugging
猜你喜欢

【Unity】可玩广告Luna Playable插件的踩坑记录

手写一个网关服务,理解更透彻!

(L2-026)小字辈(带权并查集)

Solve the problem that kingbasees cannot open the lock file

Household intelligent projector is the first choice, entering the polar meter h3s projection

重保战场的“排头兵”,“互联网宙斯盾”如何为城市高效布防?

第二章 数组

Industry trends are far more important than efforts -- top test technology summary

How can the "vanguard" and "Internet Aegis" effectively deploy defense for cities?

Selenium automatic pop-up processing
随机推荐
sys_ctl启动kingbase单机服务时报错:could not bind IPv4 address “0.0.0.0“: Address already in use
Mysql, in the unique index of combination, handles the problem of null value
What if I don't understand? Google's 540 billion parameter new model can explain the laugh point and guess the movie through Emoji expression
Micro diary: Those seemingly insignificant details and experiences
Acrobat Pro DC tutorial, how to use password to protect PDF files?
Obtain the real IP address of the client after envoy proxy
Android面试题之屏幕适配+AIDL篇
"Shandong University project training" Research on radiation pre calculation rendering and post-processing noise reduction system (I)
[untitled] leetcode 396 rotation function [finding laws in mathematics] the way of leetcode in heroding
STM32使用USB虚拟串口+YMODEM实现IAP升级
day29
运维(33) CentOS7.6通过Kubeadm部署Kubernetes集群
mysql经纬度 某半径长度 内查询数据
金仓数据库KingbaseES服务启动方法
Issued locally by Axure on June 10, 2021
About the reload of log4j2 and the output of different levels of logs to different log files
如何破除中年危机?互联网人看过来
Why is x16 slower than X8?
Firewalld DBUS interface usage guide
How to break the midlife crisis? Internet people look at it