SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));

 

referrence: https://tableplus.com/blog/2018/08/mysql-how-to-turn-off-only-full-group-by.html

 

MySQL - How to turn off ONLY_FULL_GROUP_BY?

If you run into this error with MySQL:

tableplus.com

 

'데이터베이스' 카테고리의 다른 글

mysql 로그 보기  (0) 2018.04.24
max group by  (0) 2018.02.14
로컬 sql을 원격 mysql에 넣는 법  (0) 2018.02.05
첫 트리거  (0) 2017.12.19
dataSource에 initSql 설정 (alter session 적용하기)  (0) 2017.11.23

+ Recent posts