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 Views49
    read more
  2. SQLGate for CUBRID 영구 무료 라이선스 제공

    Date2020.04.09 Byadmin Views4458
    read more
  3. attribute가 AUTO_INCREMENT로 생성됐는지 확인할 수 있는 딕셔너리는 무엇인가요?

    Date2023.01.08 By새옹지마 Views365
    Read More
  4. varchar <-> collection으로 변환이 가능한가요?

    Date2023.01.08 By새옹지마 Views48
    Read More
  5. SET, MULTISET, LIST과 같은 컬렉션 타입 컬럼에 저장된 원소의 갯수를 알고 싶습니다.

    Date2023.01.06 By새옹지마 Views130
    Read More
  6. JDBC로 SET 타입의 데이터를 get/set 하는 메소드는 각각 무엇인가요?

    Date2023.01.04 By새옹지마 Views97
    Read More
  7. JDBC로 BIT(n) 타입의 데이터를 get/set 하는 메소드는 각각 무엇인가요?

    Date2023.01.03 By새옹지마 Views56
    Read More
  8. 큐브리드 매니저 관리모드 접속 시 오류가 발생합니다.

    Date2023.01.03 By정A Views271
    Read More
  9. WHERE절에 REGEXP_REPLACE를 넣고 실행하면 다운됩니다.

    Date2023.01.02 By거지같은 Views318
    Read More
  10. 암호화관련 문의 드립니다.

    Date2022.12.29 By초코초코초 Views102
    Read More
  11. 모든 테이블의 목록과 각 테이블의 로우 (레코드) 수 확인

    Date2022.12.28 By키롱 Views198
    Read More
  12. 큐브리드 FOR문 관련 질의드립니다.

    Date2022.12.28 By계란 Views220
    Read More
  13. [처리완료] 큐브리드 unloaddb, loaddb 시 특수문자 깨짐 및 Lexical error

    Date2022.12.27 By백수인 Views137
    Read More
  14. 쿼리 튜닝 및 실행계획 관련 문의 드립니다.

    Date2022.12.23 Bykikiki767 Views137
    Read More
  15. 펑션 오류 문의드립니다

    Date2022.12.17 By초코초코초 Views141
    Read More
  16. insert 시 오류 문의

    Date2022.12.16 Bysteve Views127
    Read More
  17. cubrid11.2 embedded SQL 지원 여부 및 메뉴얼 위치?

    Date2022.12.15 Byjjune1206 Views45
    Read More
  18. Error : [-596] The 1953 pages of total temporary space allowed have been exceeded.

    Date2022.12.10 By리들러 Views266
    Read More
  19. 큐브리드 DB링크 문의드립니다.

    Date2022.12.01 By초코초코초 Views150
    Read More
  20. Oracle to CUBRID Migration 방안

    Date2022.12.01 ByDBS Views96
    Read More
  21. cubrid 엔진 설치 오류

    Date2022.12.01 Byminsung Views72
    Read More
  22. kill 명령어로 프로세스가 죽지 않을때

    Date2022.12.01 By나라디 Views156
    Read More
Board Pagination Prev 1 ... 7 8 9 10 11 12 13 14 15 16 ... 200 Next
/ 200

Contact Cubrid

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