MySQL Forums
Forum List  »  Oracle

How to echo sql stmts on mysql?
Posted by: ummatix
Date: October 19, 2004 08:35PM

How to make the mysql command prompt display (i.e. echo) the sql statement that I just ran. For example, I ran the following at the mysql prompt:
tee abc.txt
source s1.sql
notee

But the output file abc.txt does not contain the sql statements that were executed. If there are errors, I have difficulty in tracing which sql statement in s1.sql caused the error. Any help would be much appreciated. thx.

- Abdullah

Options: ReplyQuote


Subject
Views
Written By
Posted
How to echo sql stmts on mysql?
32936
October 19, 2004 08:35PM
12070
November 16, 2004 07:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.