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
    감사합니다!

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

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 SQLGate for CUBRID 영구 무료 라이선스 제공 file admin 2020.04.09 4280
3916 유저생성 함수 반복 실행 시, fatal error발생 2 f0081 2023.11.09 90
3915 11.2버전에서 사용자 스키마에 대해서 궁금한 것이 있습니다. 1 로키 2023.11.08 126
3914 저장프로시저 실행관련 문의 4 f0081 2023.11.08 129
3913 다른 소유자 테이블 검색 권한 2 박혀누 2023.11.08 126
3912 [CUBRID Admin] 사용자의 테이블 권한 편집 1 tree1891 2023.11.06 89
3911 3909번 답변 좀 부탁드립니다. f0081 2023.11.06 85
3910 [CUBRID Admin] 테이블 컬럼 순서 변경 불가 12 tree1891 2023.11.05 169
3909 시스템 카탈로그 조회 외 1 f0081 2023.11.01 108
3908 시리얼 생성 시 class_name, attr_name, started 컬럼 값을 변경하고 싶습니다. 1 file getpost 2023.11.01 99
3907 cubrid 9.3.1 설치해서 원격으로 접속하고자 설치했는데 에러가 뜹니다 3 file Xstar 2023.10.27 91
3906 loaddb 실행 중 발생하는 오류에 대해서 문의 드립니다. 1 file 뚜벅뚜벅 2023.10.19 93
3905 큐브리드 매니서 실행 문의 1 마리오 2023.10.19 89
3904 큐브리드 DB가 실행되지 않는 것 같습니다. 4 file 뚜벅뚜벅 2023.10.18 112
3903 ===<ResultofSELECTCommandinLine1>=== 등의 출력 없이 결과값만 반환받고 싶습니다. 3 f0081 2023.10.18 87
3902 가로 데이터 세로로 조회 6 Ggyak 2023.10.18 109
3901 테이블별 row 개수를 조회하는 쿼리 6 cncn 2023.10.18 103
3900 [ADO.NET] Syntax error: unexpected 6 tree1891 2023.10.17 145
3899 큐브리드매니저 패스워드 변경 문의건 1 file yurrrr 2023.10.16 95
3898 Db프로시져 스케쥴 실행 성공 리포트나 로그 결과른 보고싶습니다 2 Roy 2023.10.16 99
3897 db 데이터용량을 조회하는 쿼리 2 cncn 2023.10.11 108
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 199 Next
/ 199

Contact Cubrid

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