phpmyadmin에서 http://gnustudy.com/bbs/board.php?bo_table=gnu_tip&wr_id=24 여기 글 따라 했는대 밑에 질의 오류 뜨고 종류 LONGTEXT로 변하지 않내요 뭐가 문제죠?
wr_datetime에 들어가서 기본값 조정하면 #1067 - Invalid default value for 'as_update'라고 뜨고
as_update탭에 들어가서 기본값 조정하면 #1067 - Invalid default value for 'wr_datetime' 이렇게 뜨내요

답변 3개 / 댓글 4개
채택된 답변
+20 포인트
다른 부분은 건들지 마시고 wr_content 만 일단 변경해보세요.
답변에 대한 댓글 3개
g5_write_Gesif_02 게시탭에서 SQL 누르고 SQL 질의를 실행에 ALTER TABLE `g5_write_Gesif_02` CHANGE `wr_content` `wr_content` longtext NOT NULL 이렇게 적으니 위에 처럼뜹니다.
#1064 - 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 'ALTER TABLE `g5_write_Gesif_02` CHANGE `wr_content` `wr_content` longtext NOT NU' at line 2
#1064 - 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 'ALTER TABLE `g5_write_Gesif_02` CHANGE `wr_content` `wr_content` longtext NOT NU' at line 2
답변을 작성하려면 로그인이 필요합니다.