Я пытаюсь ввести файл csv, содержащий несколько тысяч строк в базе данных mysql, но продолжаю получать эту ошибку, и тип данных, который я определил для "industry_code", является bigint, но я понимаю некоторые из моих полей для этого столбца в файле cvs пусты, но он не жалуется на них, он жалуется на номер 6029.
Я опубликую ниже изображения моего кода загрузки командной строки, моей структуры базы данных и моего файла csv.
Любая помощь очень признателен!
Заранее спасибо!
Строки данных в моем файле csv:
5 CARIBBEAN DEVELOPMENT BANK PO BOX 408 ST MICHEALS SM WI Barbados Caribbean Development Bank 6029 Banking Caribbean Development Bank 6029 Banking
6 GOVERNMENT OF ARUBA SERRICIO DI COMPUTER CENTRAL ORANJESTAD OR NA ARUBA Government of Aruba 9199 Government Government of Aruba 9199 Government
7 LIFE OF JAMAICA INSURANCE CO LTD 28 BARBADOS AVE KINGSTON 5 KNG 0 JAMAICA Sagicor Life Jamaica Limited 6311 Insurance Sagicor Life Jamaica Limited 6311 Insurance
8 BANCO POPULAR DOMINICANO AVE J F KENNEDY 20 SANTO DOMINGO SD 0 DOMINICAN REPUBLIC Banco Popular Dominicano C. por A.-Banco Multiple 6021 Banking Grupo Popular S A 6712 Other Financial Services
9 BANCO MULTIPLE LEON SA AVE J F KENNEDY 135 SANTO DOMINGO SD 0 DOMINICAN REPUBLIC Banco Multiple Leon, S.A. 6021 Banking Banco Multiple Leon, S.A. 6021 Banking
10 BARBADOS TELEPHONE CO LTD WINDSOR LODGE GOVERNMENT HILL ST MICHAELS SM 0 Barbados
11 BARBADOS NATIONAL BANK JAMES ST BRIDGETOWN BR 0 Barbados Barbados Tyre Centre Limited 5013 Wholesale Art Holding Inc. 6719 Other Financial Services
12 CHASE MANHATTAN BANK NA 28 TONG CHONG ST HONG KONG HK 0 HONG KONG (Special Administrative Region of China) Chase Manhattan Trust Co (HK) Ltd 6733 Other Financial Services Chase Manhattan Trust Co (HK) Ltd 6733 Other Financial Services
13 CITICORP 89 JALAN AMPANG KUALA LUMPUR KUL 50754 MALAYSIA CITICORP NOMINEE (M) SDN BHD 8742 Professional Services Citigroup Inc. 6021 Banking
2294 DEPT OF NATIONAL DEFENSE 9 GROVE ST DARTMOUTH NS B3A 3C5 CANADA Government of Canada 9711 Government Government of Canada 9121 Government
Строки данных в моем CSV-файле, просмотренном в текстовом редакторе:
5,"CARIBBEAN DEVELOPMENT BANK","PO BOX 408","ST MICHEALS","SM","WI","Barbados","Caribbean Development Bank","6029","Banking","Caribbean Development Bank","6029","Banking"
6,"GOVERNMENT OF ARUBA","SERRICIO DI COMPUTER CENTRAL","ORANJESTAD","OR","NA","ARUBA","Government of Aruba","9199","Government","Government of Aruba","9199","Government"
7,"LIFE OF JAMAICA INSURANCE CO LTD","28 BARBADOS AVE","KINGSTON 5","KNG","0","JAMAICA","Sagicor Life Jamaica Limited","6311","Insurance","Sagicor Life Jamaica Limited","6311","Insurance"
8,"BANCO POPULAR DOMINICANO","AVE J F KENNEDY 20","SANTO DOMINGO","SD","0","DOMINICAN REPUBLIC","Banco Popular Dominicano C. por A.-Banco Multiple","6021","Banking","Grupo Popular S A","6712","Other Financial Services"
9,"BANCO MULTIPLE LEON SA","AVE J F KENNEDY 135","SANTO DOMINGO","SD","0","DOMINICAN REPUBLIC","Banco Multiple Leon, S.A.","6021","Banking","Banco Multiple Leon, S.A.","6021","Banking"
10,"BARBADOS TELEPHONE CO LTD","WINDSOR LODGE GOVERNMENT HILL","ST MICHAELS","SM","0","Barbados","","","","","",""
11,"BARBADOS NATIONAL BANK","JAMES ST","BRIDGETOWN","BR","0","Barbados","Barbados Tyre Centre Limited","5013","Wholesale","Art Holding Inc.","6719","Other Financial Services"
12,"CHASE MANHATTAN BANK NA","28 TONG CHONG ST","HONG KONG","HK","0","HONG KONG (Special Administrative Region of China)","Chase Manhattan Trust Co (HK) Ltd","6733","Other Financial Services","Chase Manhattan Trust Co (HK) Ltd","6733","Other Financial Services"
13,"CITICORP","89 JALAN AMPANG","KUALA LUMPUR","KUL","50754","MALAYSIA","CITICORP NOMINEE (M) SDN BHD","8742","Professional Services","Citigroup Inc.","6021","Banking"
2294,"DEPT OF NATIONAL DEFENSE","9 GROVE ST","DARTMOUTH","NS","B3A 3C5","CANADA","Government of Canada","9711","Government","Government of Canada","9121","Government"