1

This is may be foolish question. But i cant find the answer of this problem anywhere.

i have a .sql3 and a .csv file i want do import functionality in my mysql workbench using any of these file.

right now i dont have any tables and shemas in my mysql

when i am importing my demo.csv or demo.sql3 files in my workbench its showing an error like

ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SQLite format 3' at line 1

I am on ubuntu

can anyone help me out from this problem

thanks in advance

1 Answer 1

1

For reading csv data into MySQL LOAD DATA is probably the best way to go. There's a plugin in MySQL WOrkbench for importing CSV data but it requires an existing result set.

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.