I have two supposedly identical server environments, one for stage/test and one for production archiving. I’ve gone through one project wherein I loaded data extracts from teradata into 4 tables, many millions of rows, no problem. I used simple Load Data Infile scripts.
I have another project, a new table, that worked just fine in my stage environment. I copied the schema and data files to the production environment. When I tried to load via scripts, I got this error:
mysql> source LOAD_CENSUS_STG_MYSQL.sql
Database changed
ERROR 5 (HY000): Unknown error.
This kind of threw me for a loop as this exact thing had worked on the other server. I fiddled around, then tried to do a simple 1-row insert into my newly created table and got the following error:
mysql> Insert into CENSUS_STG_MYSQL (TOTAL_ID, CHANNEL_ID, COUNTRY_ID, STORE, DEPT, TRAN_SEQ_NO, REGISTER, TRAN_NO, ITEM_SEQ_NO, ITEM, NON_MERCH_ITEM, NET_RETAIL, MTH_IDNT, YR_IDNT, BUSINESS_DATE) VALUES (‘333’, ‘222’, ‘11’, 44, 2, ‘12345’, ‘REGISTER’, ‘99’, ‘1’, ‘TEST ITEM’, ‘TEST NONMERCH’, 19.95, ‘200901’, ‘2009’, ‘20090101’);
ERROR 1031 (HY000): Table storage engine for ‘CENSUS_STG_MYSQL’ doesn’t have this option
Any clues?
