-
spring boot jpa (mysql ) table 생성 에러해결Tech/SpringBoot 2015. 12. 26. 23:22반응형
해당 에러는 다음과 같다.
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 'bigint not null auto_increment, email varchar(256) not null, enable integer not ' at line 1
위와같은 에러는 회원정보의 인덱스이름을 index 라고 하였기 때문에 mysql 의 index 와 중복이되어 발생 하였다.
index -> idx 와 같은 다른 이름으로 변경시 해결됨.
반응형'Tech > SpringBoot' 카테고리의 다른 글
java8-stream (0) 2016.10.13 java static initial block- 자바 초기화 블럭 사용법 (0) 2016.02.24 자바 Check if some exe program is running on the windows (0) 2015.11.06 Spring boot - Sigar 사용( 시스템 모니터링) (0) 2015.11.06 spring boot jpa(querydsl) (0) 2015.10.20