0

i am trying to import data from a table in sqlite onto a mysql table :

U exported the table of sqlite into a csv file. While importing the csv file into the mysql table, ihave the following error :

#1366 - Incorrect integer value: 'IDAPPRECIATIONL' for column 'idAppreciation' at row 1 

IDAPPRECIATION is the column of the sqlite database and idAppreciation is the column of the mysql table they are both autoincrement.

3
  • 2
    Sounds like your CSV file includes the column names as headers and the import doesn't seem to like that. Commented Sep 27, 2012 at 21:21
  • i am not sure i anderstand what you said Commented Sep 28, 2012 at 11:28
  • I explained further in an answer below since I'm pretty sure that's your problem. Commented Sep 28, 2012 at 13:11

1 Answer 1

1

The first line in your CSV file is likely the column names from your sqlite table. Export without the column names or remove that first line. Or during the import choose to skip the first line if you have the option.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.