Is there a way to prevent the default mysql client from ?:
- 'removing newlines'
- a.k.a. 'converting newlines to spaces'
- a.k.a. 'mapping newlines to spaces'
Being more specific, with 'default mysql client' i mean the one in a terminal, command-line, shell or whatever you like to call it.
I didn't see an option for it at http://dev.mysql.com/doc/refman/5.6/en/mysql-logging.html and couldn't easily find a solution.
My guess is that it will be hard because it logs to a file ( e.g. ~/.mysql_history), like other shells do (e.g. ~/.bash_history). But I thought it couldn't hurt to ask. Here's to hoping for workarounds, hacks or something like that.