2 messages in com.mysql.lists.win32mysql script print output for debugging?
FromSent OnAttachments
Phillip Rhodes07 Nov 2002 00:09 
webm...@dwam.com07 Nov 2002 03:56 
Subject:mysql script print output for debugging?
From:Phillip Rhodes (rhod@telerama.com)
Date:11/07/2002 12:09:05 AM
List:com.mysql.lists.win32

I am running long scripts and in the middle of the script, it will bomb, and I have no idea where in the script the error happened...

I would like to put some "print" statements so that I can display some status at the command line. For example:

print "deleting orders"; delete from orders;

But I can not get the print command to work at all in my scripts, which I run using the mysql command line interface. Can someone send me an example?

thanks!