Jerome,
Sorry for the late reply. I was on vacation.
Anyway, I used a 64 bit machine running:
Windows Server 2003, Enterprise x64 Edition
Microsoft Windows [Version 5.2.3790]
and I took this data:
012717906;-84816883;017796263;-83720239;gvqJL
065857363;019935432;032836681;021714780;zAMqL
-89088488;-46366250;026632425;020053433;uTh7l
032159212;-01959562;060433380;-57249608;LlSa5
-50609942;-79496980;-07003982;-43424357;28gOm
-75228283;-95647777;-34363516;-65064622;FqE0B
-86679095;-73179209;-35948226;092371310;Npks9
-95987068;019862786;-46408020;035140167;XJgW0
005535196;009964138;-49303840;-69488450;T4s4j
-86752063;036505309;-68984498;-48814321;4jWjU
066822788;-24019431;-21156385;052570375;IeTIK
028406252;033804510;039221891;-09240801;jKarL
090653760;-91733482;061556878;-22901829;LDCcI
-48774030;-26057436;028826012;-24878173;eB7L2
-98363212;030109121;-74244153;-31569027;UvcT1
047772084;-88693302;-08792545;016444895;M64I6
026838746;-34068082;096781822;-53741703;iop6X
and then I ran these commands:
warnings;
drop database if exists jerome_test;
create database jerome_test;
use jerome_test;
set autocommit=1;
drop table if exists jerome;
CREATE TABLE jerome (
REPORT_DATE_INT int ,
HO_WORK_ORDER_HISTORY_ID int ,
HO_PHONE_MASTER_ROW_ID int ,
HO_SUBSCRIBER_ROW_ID int ,
SUB_CTYPE varchar(5)
) engine=brighthouse CHARACTER SET ascii COLLATE ascii_bin;
set @bh_dataformat = 'txt_variable';
-- The next command is all on one line
load data infile 'C:/bbeharry/2009Mar05/data.txt' into table jerome fields terminated by ';' enclosed by 'null' lines terminated by '\n';
select * from jerome limit 1000;
select count(*) from jerome;
I was able to load and query without a problem.
Could you tell me all the details of the environment where you issue the selects? I use the mysql client in the bin directory and then I use the parameters: -u root -P3306
(You’ll use a different number than 3306)
So:
mysql -u root -P3306