Error 1064(42000) : 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 '' at ...

원인 ( 나의 경우)

https://bskwak.tistory.com/141?category=417447 에서 table를 작성하다가 생긴 에러

created DATATIME NOT NULL,

 

해결방안

DATATIME이 아니라 DATETIME을 입력해야 하는데, 잘못 입력해서 생긴 error

즉, SQL문법을 잘못 사용해서 생긴 error

+ Recent posts