Package: mysql-client-5.0
Version: 5.0.24a-5
Severity: wishlist
Tags: upstream
File: /usr/bin/mysqlimport

There appears there is no option for using just standard input.
E.g., I want to pipe data to mysqlimport for saving into db_name
textfile1. I must first save the data into textfile1. I cannot avoid
making this temporary file as there is no option for just using stdin.

P.S., even with -v, the user is not shown any of the 117598 warnings:
Connecting to localhost
Selecting database postoffice
Loading data from LOCAL file: /tmp/rall1.txt into rall1
postoffice.rall1: Records: 117520  Deleted: 0  Skipped: 0  Warnings: 117598
Disconnecting from localhost

P.S.,
man page says
       o  --delete, -D

          Empty the table before importing the text file.

mysqlimport -D -v --local postoffice rall1.txt
mysqlimport: unknown option '-D'

had to use --delete


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to