반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- parse
- no sources given
- 스프링부트테스트
- property or field 'jobparameters' cannot be found on object of type
- maybe not public or not valid?
- Java 1.8
- java 여러개 버전
- LeetCode
- springboottest
- AWS CLI
- springbatch error
- easy
- Medium
- springboot
- xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- yum install java
- error
- log error
- No tests found for given includes
- mac os git error
- JUnit
- java
- java version
- aws
- java 1.8 11
- OpenFeign
- querydsl no sources given
- java 버전 변경
- java 11
- el1008e
Archives
- Today
- Total
쩨이엠 개발 블로그
[ DB ] MySql version query로 찾기 본문
728x90
반응형
기존 IDC에 있던 DB를 사용하려는데 create문이 돌아가질 않는다
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
'JSON,
sensor_level TINYINT,
create_at DATETIME NOT NULL,
PRIMARY KEY' at line 5
JSON 타입이 입력이 되지 않는 건 버전문제가 제일 유력하다고 해서 버전을 확인해보기로 했다
mysql 깔린 서버로 터미널로는 못들어가게 되어있어서 쿼리로 하는 방법을 찾아보았다
간단하다
> SELECT VERSION();
입력해보면

버전이 보이는 것을 확인할 수 있다
JSON 타입은 5.7 버전 부터 사용이 가능하다고 한다
ㅎ... 업그레이드 해서 다시 깔았더니

잘 깔리는 것을 확인했다
728x90
반응형
'개발 > ETC' 카테고리의 다른 글
| [ CentOS ] java version 변경 (0) | 2020.12.02 |
|---|---|
| [ CentOS ] java version 변경 (0) | 2020.12.02 |
| [ MAC OS ] xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun (0) | 2020.11.17 |
| [ H2 ] Unsupported connection setting "MVCC" (0) | 2020.11.10 |
| [ gradle ] 서버 재기동 없이 리로드 하고 싶을 때 (0) | 2020.10.25 |