S
S
Sergei Faberovsky2015-11-20 16:53:41
MySQL
Sergei Faberovsky, 2015-11-20 16:53:41

How to correctly import a CSV file with a table into the database from the console?

I'm new to MySql, but here I needed to import a table into the database.
I am importing a CSV, the infection does not recognize the column with the time of the relevance of the entry.
I load it like this:
Load data local infile '/dir/filename.csv' into table tablename fields terminated by ';';
Where to dig?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anatoly Medvedev, 2015-11-20
@Faberovsky

I think this is the problem1A5QqZMSoP1MAE.jpg

S
Sergei Faberovsky, 2015-11-24
@Faberovsky

Thank you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question