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

    Date2020.04.09 Byadmin Views4458
    read more
  3. 테이블/컬럼명 자동완성 설정문의

    Date2023.02.10 Bydfdfdd Views205
    Read More
  4. 드라이버버전 변경방법문의드립니다.

    Date2023.02.10 Bydfdfdd Views124
    Read More
  5. 큐브리드 설치 문의

    Date2023.02.09 By팡이 Views115
    Read More
  6. attempt to divide by zero .. 조회문제 도와주세요

    Date2023.02.07 By아프월 Views270
    Read More
  7. 큐브리드 컬럼 디폴트값

    Date2023.02.06 By백수인 Views205
    Read More
  8. ddl_audit_log=yes 가 없을때 디폴트 값

    Date2023.02.01 By바람발마발 Views87
    Read More
  9. numeric type 의 입력 가능한 최대 값

    Date2023.01.31 By정우아빠 Views117
    Read More
  10. 집합함수 이용 시 정렬 관련하여 문의드립니다.

    Date2023.01.27 By플레이어블 Views94
    Read More
  11. 안전한 암호화 알고리즘 사용 문의드립니다.

    Date2023.01.27 By보안진단 Views112
    Read More
  12. 뷰를 이용한 조인쿼리 시스템 에러 문의

    Date2023.01.19 By플레이어블 Views124
    Read More
  13. 설시치 문의 드립니다.

    Date2023.01.18 By큐브리드궁금 Views152
    Read More
  14. 임의용량에 대해 문의 드립니다.

    Date2023.01.18 By김은지 Views57
    Read More
  15. 윈도우용 python 드라이버 설치 오류

    Date2023.01.18 By리치타이거 Views82
    Read More
  16. cubrid 드라이버 설치 오류

    Date2023.01.17 Byh2h2 Views119
    Read More
  17. 큐브리드 버전 업그레이드 관련 문의 드립니다.

    Date2023.01.17 By초코초코초 Views88
    Read More
  18. python 3.9 지원 문의

    Date2023.01.17 By리치타이거 Views85
    Read More
  19. Python Cubrid DB 연동 시 import _cubrid 오류

    Date2023.01.13 By이노무소오파 Views148
    Read More
  20. cci에서 패스워드 암호화 사용 방법

    Date2023.01.12 By가을이아빠 Views55
    Read More
  21. 데이터베이스 백업, 복구(backupdb, restoredb)

    Date2023.01.12 Bywiz Views279
    Read More
  22. 실리콘 맥(M1, ARM) 큐브리드 매니저 지원 문의

    Date2023.01.09 By큐유저 Views238
    Read More
Board Pagination Prev 1 ... 6 7 8 9 10 11 12 13 14 15 ... 200 Next
/ 200

Contact Cubrid

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