티스토리 뷰
반응형
Error: Expression #41 of SELECT list is not in GROUP BY clause and contains nonaggregated column '{___}->{___}.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
위와 같은 에러가 떴을 때, only_full_group_by 를 해제해줘야한다.
우선 mysql 접속하여 설정 되어있는지 확인해보자
mysql> select @@sql_mode;

위와 같이 ONLY_FULL_GROUP_BY 가 포함되어있다면, 이를 없애주자.
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
해결
반응형
'Server dev. > MySQL' 카테고리의 다른 글
Ubuntu 에서 Mysql 설치하고 비밀번호 설정 (0) | 2024.01.31 |
---|---|
[MySQL] 데이터베이스 백업 및 복원 (0) | 2020.11.11 |
[MySQL] Sequelize DB Migration (0) | 2020.11.09 |
자주 쓰는 MySQL 명령어 (0) | 2020.10.14 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- nvidia
- vscode
- Macbook
- MacOS
- java
- Neural Radiance Field
- Python
- GaussianSplatting
- Object Detection
- Android
- Docker
- 우분투
- Novel View Synthesis
- ubuntu
- Computer Vision
- nginx
- MySQL
- SSH
- nerf
- 3Dvision
- Machine Learning
- Deep Learning
- git
- GPU
- CUDA
- error
- Anaconda
- numpy
- pytorch
- 2-stage Detector
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함