I am trying to import an ODS file in an MySQL database with phpMyAdmin.
I clicked on the desired table (table1) on the left and clicked on the 'Import' tab.
The data in the file matchs the one of the table. I checked the option to specify that the first line of my ODS file contains the name of my columns. The format of the file is the right one.
MySQL then gives me an error : #1054 - Unknown column 'trd_id' in 'field list'
INSERT INTO `total_ws_lu`.`table2` (`trd_id`, `lng_id`, `sta_id`, `typ_id`, `civ_id`, `mkt_id`, `trd_libelle`, `trd_sort`, `loc_id`, `pay_id`, `tyt_id`) VALUES ...
The problem is that mySQL (randomly?) chose a table to import in, table2 instead of table1.