List:General Discussion« Previous MessageNext Message »
From:Victoria Reznichenko Date:January 15 2004 12:55pm
Subject:Re: mysqlimport question
View as plain text  
"Ron McKeever" <rmckeever@stripped> wrote:
> I'm trying to use mysqimport instead of LOAD DATA INFILE from a shell
> script. I notice an option for mysqlimport is not working or im doing it
> wrong.
> 
> This works with LOAD DATA INFILE  :
> mysql -e "LOAD DATA INFILE 'x' INTO TABLE x IGNORE 2 LINES"
> 
> 
> but when i try:
> 
> mysqlimport --ignore-lines=2 -uroot -ppassword month 0114.txt
> 
> It says unknown option "--ignore-lines="? Am i doing this wrong?

Your version of mysqlimport doesn't support this option.
--ignore-lines option was added in v4.0.2 of MySQL

> 
> Also will mysqlimport work only if the .txt file is the same name as the
> table in the db( mine is month.Jan04, but the files are always mmdd.txt)
> 
> 


-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   Victoria.Reznichenko@stripped
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




Thread
mysqlimport questionRon McKeever15 Jan
  • Re: mysqlimport questionVictoria Reznichenko15 Jan