Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Donate Today!

Do you enjoy these
technical forums?
Donate Today! Click Here

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Show warnings with mysqlimport

InnSun (Programmer)
2 Apr 03 11:25
Hi,

Using mysqlimport (from the shell command line) is more convenient at times than running LOAD DATA INFILE... from within mysql. However, I don't seem to be able to view warnings that the import may produce. If it was run from within mysql, then the command SHOW WARNINGS; immediately after the LOAD would provide the necessary display of warning messages.

Is there some way to view warnings / errors after running mysqlimport?

TIA
sleipnir214 (Programmer)
2 Apr 03 12:23
You might try upping the verbosity level.  Use the -v (lowercase) or --verbose switches to get a better idea of what is going on.

Want the best answers?  Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.html
TANSTAAFL!

InnSun (Programmer)
6 Apr 03 21:12
thanx sleipnir214.

Sorry, i got ahead of myself here. The feature "SHOW WARNINGS" is not currently available. It is proposed for the 4.1 release (alpha only currently) and may not even be available there (see the comment at the end of this reference manual page:

http://www.mysql.com/doc/en/SHOW_WARNINGS.html

)

even when it is implemented it doesn't appear to be available for the mysqlimport command...i suppose what i meant was does anyone know of a system file that holds these warning messages?? i.e.,following something like
Query OK, 91515 rows affected (3.27 sec)
Records: 91515 Deleted: 0 Skipped: 0 Warnings: 5559

...where are those 5559 warnings?
federico1978 (Programmer)
16 Oct 03 9:18
I have the same problem... If someone knows where is possible to find warnings.. please.. share it with us!!!!

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close