Background Image

FORUM

?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부


* 질문 등록 시 다음의 내용을 꼭 기입하여 주세요.

OS
inux 64bit
CUBRID Ver.
[cubrid_rel] 수행 결과
CUBRID TOOL Ver.
[도움말]-[버전정보] 확인
응용 환경(API)
java, php, odbc 등 입력


* CUBRID 응용 오류, SQL 오류 또는 SQL 튜닝 관련된 문의는 반드시 다음의 내용을 추가해 주세요. 비밀글이나 비밀 댓글도 가능합니다.
* 저희가 상황을 이해하고, 재현이 가능해야 알 수 있는 문제들이 많습니다. 가능한 정보/정황들을 부탁합니다.

 

에러 내용 및 재현 방법 재현 가능한 Source와 SQL
관련 테이블(인덱스, 키정보 포함) 정보 CUBRID 홈 디렉토리 아래 log 디렉토리 압축


-------------- 아래에 질문 사항을 기입해 주세요. ------------------------------------------------------------------------
 

큐브리드 db 데이터 이전을위해

cubrid unloaddb -u coopis -d -i table_list.txt coopdb@localhost;

 

위와같은 unloaddb 명령어를 이용하여 

coopdb@localhost_objects 문서를 생성하였습니다.

 

그런데 파일을 열어보면 첨부한 스크린샷처럼 특수문자가 꺠져서 나옵니다.

 

 

아래 처럼 db데이터를 loaddb 하려고하면,

cubrid loaddb -u dba -p [비번] -d coopdb@localhost_objects coop_test

 

 


Start object loading.
Line 1:Lexical error
line 1: syntax error at "]"2 errors detected.
 

 

위와같은 에러가나옵니다.  

 

 

SELECT COLLATION(''); 를  이용하여 확인한값은

기존db, 이전db 모두 utf8_bin 로 동일합니다.

 

문제가 무었인지 도움부탁드립니다..

 

 

 

 

 

 

 

  • ?
    오명환 2022.12.28 09:38

    첨부해주신 이미지의 hexa code로 보이는 부분은 unloaddb에서 긴 데이터를 라인별로 분리하면서 한글이 분할되어서 보이는 현상입니다.
    loaddb시 분리된 라인을 다시 합치기때문에 이 부분은 문제가 아닙니다.

    unloaddb 대상인 cubrid version과 loaddb 대상인 cubrid version을 알려주시고, 오류 발생한 line이 1이므로 objects 파일의 첫라인 정보도 함께 알려주세요.

  • ?
    백수인 2022.12.28 12:31

    기존 큐브리드는 CUBRID-11.2 (11.2.2.0705-4ea991d) 64bit release build for Linux (Oct 28 2022 16:13:18)

    이전 큐브리드는 CUBRID 11.2 (11.2.1.0677-82f461a) (64bit release build for Linux) (Jul 26 2022 18:30:33)


    objects 파일의 초반부 내용은 아래와 같으며,

    원본파일의 일부내용도 추가 첨부파일로 올렸습니다.

     
    coopdb@localhost_objects
    coopdb@localhost_unloaddb.log
     
     
    ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ
     
    %id [coopis].[admin] 48
    %id [coopis].[admin_auth] 49
    %id [coopis].[attach_archive] 50
    %id [coopis].[attach_cooperative] 51
    %id [coopis].[attach_form] 52
    %id [coopis].[attach_notice] 53
    %id [coopis].[attach_report] 54
    %id [coopis].[tb_auto_perm] 55
    %id [coopis].[attach_video] 56
    %id [coopis].[board_archive] 57
    %id [coopis].[board_cooperative] 58
    %id [coopis].[board_faq] 59
    %id [coopis].[board_form] 60
    %id [coopis].[board_notice] 61
    %id [coopis].[board_report] 62
    %id [coopis].[board_video] 63
    %id [coopis].[cm_attach_file] 64
    %id [coopis].[cm_sub_area] 65
    %id [coopis].[coop_site] 66
    %id [coopis].[disclosure_attach] 67
    %id [coopis].[disclosure_new] 68
    %id [coopis].[disclosure_new_20190131] 69
    %id [coopis].[disclosure_new_20190401] 70
    %id [coopis].[disclosure_new_back] 71
    %id [coopis].[disclosure_new_bk] 72
    %id [coopis].[disclosure_new_test] 73
    %id [coopis].[disclosure] 74
    %id [coopis].[guild_report] 75
    %id [coopis].[guild_report_attach] 76
    %id [coopis].[guild_report_picture] 77
    %id [coopis].[gu_coop_protest] 78
    %id [coopis].[tb_charger_info] 79
    %id [coopis].[gu_ddt_biz] 80
    %id [coopis].[macket_attach_image] 81
    %id [coopis].[macket_category] 82
    %id [coopis].[macket_file_info] 83
    %id [coopis].[msg_data] 84
    %id [coopis].[macket_goods_info] 85
    %id [coopis].[member] 86
    %id [coopis].[menu] 87
    %id [coopis].[msg_log] 88
    %id [coopis].[msg_seq] 89
    %id [coopis].[mv_video] 90
    %id [coopis].[popup] 91
    %id [coopis].[stat_pv] 92
    %id [coopis].[stat_uv] 93
    %id [coopis].[support_organization] 94
    %id [coopis].[tb_as_zip_cd] 95
    %id [coopis].[tb_accdt_examin] 96
    %id [coopis].[tb_accdt_examin_tmp] 97
    %id [coopis].[tb_agency_splemnt] 98
    %id [coopis].[tb_cm_archive] 99
    %id [coopis].[tb_cm_auth] 100
    %id [coopis].[tb_cm_dept] 101
    %id [coopis].[tb_cm_dept_test] 102
    %id [coopis].[tb_cm_notice] 103
    %id [coopis].[tb_cm_work] 104
    %id [coopis].[tb_com_dtl_cd] 105
    %id [coopis].[tb_com_dtl_cd_bk] 106
    %id [coopis].[tb_com_gbn_cd] 107
    %id [coopis].[tb_com_gbn_cd_bk] 108
    %id [coopis].[tb_confirm_cancl] 109
    %id [coopis].[tb_estbl_aim_cd] 110
    %id [coopis].[tb_estbl_aim_cd_bk] 111
    %id [coopis].[tb_file_info] 112
    %id [coopis].[tb_ge_coop] 113
    %id [coopis].[tb_ge_coop_bf_tr] 114
    %id [coopis].[tb_ge_coop_back] 115
    %id [coopis].[tb_ge_coop_bf] 116
    %id [coopis].[tb_ge_coop_bf_bk] 117
    %id [coopis].[tb_ge_coop_bf_tr_bk] 118
    %id [coopis].[tb_ge_coop_bk] 119
    %id [coopis].[tb_gu_executive] 120
    %id [coopis].[tb_ge_coop_new] 121
    %id [coopis].[tb_menu_info] 122
    %id [coopis].[tb_menu_info_bk] 123
    %id [coopis].[tb_ge_coop_new_10] 124
    %id [coopis].[tb_gu_return] 125
    %id [coopis].[tb_gu_return_bk] 126
    %id [coopis].[tb_holiday] 127
    %id [coopis].[tb_ge_coop_new_acc] 128
    %id [coopis].[tb_gu_disbend] 129
    %id [coopis].[tb_holiday_bk] 130
    %id [coopis].[tb_ge_coop_tr] 131
    %id [coopis].[tb_gu_disbend_test] 132
    %id [coopis].[tb_ge_coop_tr_test] 133
    %id [coopis].[tb_ge_executive] 134
    %id [coopis].[tb_gu_agency] 135
    %id [coopis].[tb_gu_agency_bk] 136
    %id [coopis].[tb_gu_artofass] 137
    %id [coopis].[tb_usr_info] 138
    %id [coopis].[tb_gu_artofass_bk] 139
    %id [coopis].[tb_regid_chghst] 140
    %id [coopis].[tb_so_agency] 141
    %id [coopis].[tb_temp] 142
    %id [coopis].[tb_gu_artofass_test] 143
    %id [coopis].[tb_gu_branch] 144
    %id [coopis].[tb_gu_branch_bk] 145
    %id [coopis].[tb_gu_member] 146
    %id [coopis].[tb_gu_coop] 147
    %id [coopis].[tb_gu_coop_back] 148
    %id [coopis].[tb_gu_coop_bk] 149
    %id [coopis].[tb_gu_coop_new] 150
    %id [coopis].[tb_gu_executive_bk] 151
    %id [coopis].[tb_gu_coop_new_10] 152
    %id [coopis].[tb_gu_coop_new_acc] 153
    %id [coopis].[tb_gu_coop_new_test] 154
    %id [coopis].[tb_gu_coop_test] 155
    %id [coopis].[tb_gu_member_bk] 156
    %id [coopis].[tb_merge_coop] 157
    %id [coopis].[tb_mnby_cntc] 158
    %id [coopis].[tb_mnby_cntc_bk] 159
    %id [coopis].[tb_mnby_inner_bk] 160
    %id [coopis].[tb_merge_coop_bk] 161
    %id [coopis].[tb_merge_entrprs] 162
    %id [coopis].[tb_so_artofass] 163
    %id [coopis].[tb_so_disbend_test] 164
    %id [coopis].[tb_so_executive] 165
    %id [coopis].[tb_so_return] 166
    %id [coopis].[tb_so_artofass_test] 167
    %id [coopis].[tb_so_branch] 168
    %id [coopis].[tb_so_disbend] 169
    %id [coopis].[tb_tb_zip_cd] 170
    %id [coopis].[tb_so_coop] 171
    %id [coopis].[tb_so_coop_back] 172
    %id [coopis].[tb_so_coop_new] 173
    %id [coopis].[tb_so_coop_new_10] 174
    %id [coopis].[tb_so_coop_new_acc] 175
    %id [coopis].[tb_so_coop_new_test] 176
    %id [coopis].[tb_so_coop_test] 177
    %id [coopis].[tb_usr_info_test] 178
    %id [coopis].[tb_usr_info_tmp] 179
    %id [coopis].[tb_usr_info_tmp_test] 180
    %id [coopis].[tb_wthdrw] 181
    %id [coopis].[video_thumb] 182
    %id [coopis].[tb_history] 183
    %id [coopis].[__sync_tbl] 184
    %id [coopis].[tbn_coop_com_cd] 185
    %id [coopis].[tbn_coop_info] 186
    %id [coopis].[tbn_coop_file] 187
    %id [coopis].[tb_improve] 188
    %id [coopis].[tb_cntc_data] 190
    %id [coopis].[tb_mnby_inner] 191
    %id [coopis].[tb_mnby_inspct] 192
    %id [coopis].[tb_daly_cntc] 193
    %class [coopis].[msg_data] ([msg_send_seq] [msg_seq] [cur_state] [sent_date] [rslt_date] [req_date] [rslt_code] [rslt_code2] [rslt_net] [call_to] [call_from] [sms_txt] [msg_type] [cont_seq] [userdata] [sub_id] [cdate] [cuser])
    6273 1384893. 1. NULL NULL datetime '03:48:53.621 PM 12/10/2018' NULL NULL NULL '01093927206' '0316977746' NULL 6. 1184. NULL NULL datetime '03:48:53.621 PM 12/10/2018' 'haeinee7'
    5925 1369697. 1. NULL NULL datetime '09:37:44.894 AM 10/29/2018' NULL NULL NULL '01098055820' '0316977746' NULL 6. 1125. NULL NULL datetime '09:37:44.894 AM 10/29/2018' 'haeinee7'
    5437 1366375. 1. NULL NULL datetime '05:07:19.583 PM 08/13/2018' NULL NULL NULL '01035560781' '0316977747' NULL 6. 1069. NULL NULL datetime '05:07:19.583 PM 08/13/2018' 'thkim'
    13528 1464903. 1. NULL NULL datetime '11:09:42.141 AM 11/06/2020' NULL NULL NULL '01057302546' '0316977737' NULL 6. 1728. NULL NULL datetime '11:09:42.141 AM 11/06/2020' 'sucoop'
    5338 1359319. 1. NULL NULL datetime '11:45:16.722 AM 08/03/2018' NULL NULL NULL '01088759526' '0316977734' NULL 6. 1055. NULL NULL datetime '11:45:16.722 AM 08/03/2018' 'choice21'
    4105 1343971. 1. NULL NULL datetime '01:10:00.000 PM 03/30/2018' NULL NULL NULL '01050524610' '027241108' NULL 6. 955. NULL NULL datetime '07:16:53.528 PM 03/29/2018' 'iamsoy'
    6507 1386096. 1. NULL NULL datetime '09:29:22.378 AM 03/26/2019' NULL NULL NULL '01025916797' '01089124007' NULL 6. 1224. NULL NULL datetime '09:29:22.378 AM 03/26/2019' 'knlee'
    6776 1386379. 1. NULL NULL datetime '11:47:50.312 AM 04/02/2019' NULL NULL NULL '01076542017' '0316977746' NULL 6. 1234. NULL NULL datetime '11:47:50.312 AM 04/02/2019' 'iamsoy'
    9383 1452661. 1. NULL NULL datetime '05:53:08.100 PM 11/14/2019' NULL NULL NULL '01055338392' '0316977745' NULL 6. 1515. NULL NULL datetime '05:53:08.100 PM 11/14/2019' 'seis3'
    3918 1312214. 1. NULL NULL datetime '09:30:00.000 AM 01/24/2018' NULL NULL NULL '01050979169' '0316977747' NULL 6. 907. NULL NULL datetime '05:24:24.370 PM 01/23/2018' 'iamsoy'
    0 7977. 1. NULL NULL datetime '06:10:36.017 PM 11/06/2017' NULL NULL NULL '01089124007' '0316977731' '[사회적협동조합파인트리] 의 진흥원심사결과가 등롧+
    '되었습니다.' 4. NULL NULL NULL datetime '06:10:36.017 PM 11/06/2017' 'SYSTEM_WORK'
    0 10373. 0. NULL NULL datetime '06:21:11.387 PM 04/18/2019' NULL NULL NULL '01066557035' '0316977731' '[사회적협동조합 한걸음] 의 진흥원심사결과가 등록맫
    '었습니다.' 4. NULL NULL NULL datetime '06:21:11.387 PM 04/18/2019' 'SYSTEM_WORK'
    0 10374. 0. NULL NULL datetime '06:22:30.660 PM 04/18/2019' NULL NULL NULL '01045114990' '0316977731' '[사회적협동조합 임신육아가행복...] 의 진흥원심사겧+
    '°과가 등록되었습니다.' 4. NULL NULL NULL datetime '06:22:30.660 PM 04/18/2019' 'SYSTEM_WORK'
    0 10375. 0. NULL NULL datetime '06:26:00.933 PM 04/18/2019' NULL NULL NULL '01098637382' '0316977731' '[우리다온 사회적협동조합 ] 의 진흥원심사결과가 등'+
    '록되었습니다.' 4. NULL NULL NULL datetime '06:26:00.933 PM 04/18/2019' 'SYSTEM_WORK'
  • ?
    오명환 2022.12.28 14:56
    11.2.2의 unloaddb 파일을 11.2.1에서 loaddb 하면서 문제가 발생한 것이군요.
    11.2.1에서 loaddb시 object 파일 부분에 %id [user].[table] 형태인 경우 parsing 오류가 있어서 11.2.2에서 수정되었습니다.

    11.2.1에서 여러 오류가 수정되었으므로 이전하시는 버전을 11.2.2로 맞추시는 것을 권고드립니다. (DB 이미지가 호환되므로 binary만 교체하시면 됩니다.)
    업그레이드가 힘든 경우에는 object 파일에서 %id 과 %class 부분을 다음과 같이 수정하시고 loaddb를 수행하시면 됩니다.

    [user].[table] -> [user.table]
  • ?
    백수인 2022.12.28 16:20
    감사합니다!

    케릭터셋 문젠가 하여 게속 수정해보면서 하고있었는데.. 안되서 힘들어하던차였습니다..
    정말 감사합니다

  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views136
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4477
    read more
  3. [초보질문] 타 dbms 연동 여부

    Date2009.06.10 By삽질중 Views12425
    Read More
  4. [초보질문] 큐브리드 매니저에서 데이타베이스 종료시 에러

    Date2009.05.16 By삽질중 Views11940
    Read More
  5. [초보질문] dbcp test 중 오류발생

    Date2009.05.16 By삽질중 Views18406
    Read More
  6. [초보질문] cubrid service status 나오는 메시지의 의미는?

    Date2009.06.04 By삽질중 Views12962
    Read More
  7. [초보질문] 쿼리편집기에 대한 질문입니다.

    Date2011.08.28 By몰라몰라 Views10002
    Read More
  8. [초보질문] 객체관계 테이블 set type 입력 및 조회 방법문의

    Date2009.05.13 By삽질중 Views14652
    Read More
  9. [초보질문] databases.txt 에 접근할수 없다는 에러메시지가 나옵니다..

    Date2011.08.29 By몰라몰라 Views10846
    Read More
  10. [초보문의] 질의편집기 접속 오류

    Date2009.07.29 By삽질중 Views9742
    Read More
  11. [처리완료] 큐브리드 unloaddb, loaddb 시 특수문자 깨짐 및 Lexical error

    Date2022.12.27 By백수인 Views137
    Read More
  12. [질문]큐브리드 설치관련입니다.

    Date2009.02.12 By야매코더 Views13516
    Read More
  13. [질문]재설치 실패...

    Date2009.02.13 By야매코더 Views12779
    Read More
  14. [질문] Insert문의 속도 향상 방법이 있나요?

    Date2011.08.10 By........ Views25236
    Read More
  15. [질문] APC_Install-tools 1.4 사용시 ~

    Date2009.03.17 By야매코더 Views10933
    Read More
  16. [질문 2개] ERROR CODE = -452

    Date2012.07.20 Byreerror Views8359
    Read More
  17. [요청]JDBC를 이용하여 연결 할때 오류가 발생합니다.

    Date2013.05.14 By슬픈앙마류 Views14295
    Read More
  18. [오류]서버 접속을 못하겠습니다.ㅜ.ㅜ (그림 유)

    Date2009.07.14 By후니 Views9542
    Read More
  19. [연결정보]브로커포트설정 관련 문의.

    Date2013.12.20 By씨큐 Views11551
    Read More
  20. [쌩초보]내컴퓨터 서버만들기는 성공 했습니다.그후

    Date2009.03.21 By왕초보 Views18788
    Read More
  21. [심각] 데이터가 많이 누적된 경우, ERROR -670 가 무조건 발생

    Date2011.05.13 By차오이 Views11
    Read More
  22. [성능이슈] 큐브리드 함수 사용으로 인한 성능이슈

    Date2024.03.04 By레고 Views116
    Read More
Board Pagination Prev 1 ... 138 139 140 141 142 143 144 145 146 147 ... 201 Next
/ 201

Contact Cubrid

대표전화 070-4077-2110 / 기술문의 070-4077-2113 / 영업문의 070-4077-2112 / Email. contact_at_cubrid.com
Contact Sales