기존 버전은 5.1에서 5.333으로 DB를 이전하려고 하는데
아래와 같은 에러가 납니다.
5.333 셋팅하고 5.1 버전을 가지고 왔어요.
phpadmin에서 수정하는 방법을 알 수 있을까요?
조언 좀 부탁드립니다.
감사합니다.
SQL 질의:
--
-- 테이블의 덤프 데이터 `g5_board`
--
INSERT INTO `g5_board` (`bo_table`, `gr_id`, `bo_subject`, `bo_mobile_subject`, `bo_device`, `bo_admin`, `bo_list_level`, `bo_read_level`, `bo_write_level`, `bo_reply_level`, `bo_comment_level`, `bo_upload_level`, `bo_download_level`, `bo_html_level`, `bo_link_level`, `bo_count_delete`, `bo_count_modify`, `bo_read_point`, `bo_write_point`, `bo_comment_point`, `bo_download_point`, `bo_use_category`, `bo_category_list`, `bo_use_sideview`, `bo_use_file_content`, `bo_use_secret`, `bo_use_dhtml_editor`, `bo_use_rss_view`, `bo_use_good`, `bo_use_nogood`, `bo_use_name`, `bo_use_signature`, `bo_use_ip_view`, `bo_use_list_view`, `bo_use_list_file`, `bo_use_list_content`, `bo_table_width`, `bo_subject_len`, `bo_mobile_subject_len`, `bo_page_rows`, `bo_mobile_page_rows`, `bo_new`, `bo_hot`, `bo_image_width`, `bo_skin`, `bo_mobile_skin`, `bo_include_head`, `bo_include_tail`, `bo_content_head`, `bo_mobile_content_head`, `bo_content_tail`, `bo_mobile_content_tail`,[...]
MySQL 메시지: 문서
#1062 - Duplicate entry 'free' for key 'PRIMARY'
답변 2개 / 댓글 3개
free 라는 컬럼에 중복된 값이 존재해서 발생되는 오류 입니다.
기존 데이터를 지우시고 다시 등록해 보세요
답변에 대한 댓글 3개
설치후 복구하시면 에러나니 기존 db 테이블 데이터는 다 삭제하시고 db 복원을 하셔야 합니다.
플라이님의 답변은 특정 테이블에 free 라는 컬럼에 중복이어서 에러난다는 말씀이세요.
특정 테이블에 해당 부분을 제거하기 힘드시면 모두 지우고 다시 올리셔도 됩니다.
답변을 작성하려면 로그인이 필요합니다.
설치 되어 있는 DB를 모두 삭제하고 기존의 5.1 버전 데이터를 올리라는 말씀이신가요?