MySQL Forums
Forum List  »  Newbie

Is there any sample for mysql --raw??
Posted by: Weihua Wang
Date: October 06, 2015 01:05AM

I am still trying to test mysql --raw option, but I failed to get some sample for this option.
from guide, i know that --raw can disable escaped chars and output literals.

first I insert some values in test table:
mysql> insert into test values ('OK\n');
mysql> insert into test values ('OK\\n');

then do mysql login:
# mysql -uroot -p -N -s -r

do the test table query, but I still cannot find 'OK\n' value to be treated as literals. only 'OK' with new line..

How can I pass this option testing?

Can anyone give me some samples for this --raw option?

Options: ReplyQuote


Subject
Written By
Posted
Is there any sample for mysql --raw??
October 06, 2015 01:05AM


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.