Re: mysqldump throws error code
Remember that you have to "protect" your --where clause from the shell before it gets passed to mysqldump to play with and
within that, you have to have legal, MySQL where-clause syntax:
mysqldump -u jim -p mydb mytable --where "mycondition = 'ERROR-5000-JAVA' " > /home/jim/issue1.sql
^ ^ ^ ^
| | SQL quoting | |
| +---------------+ |
| Shell Quoting |
+--------------------------------+
Regards, Phill W.
Subject
Written By
Posted
November 23, 2016 11:52PM
Re: mysqldump throws error code
November 24, 2016 09:59AM
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.