Sample Header Ad - 728x90

How could I prevent the mysql cli-/terminal client from converting/altering multiline-statements (in the process of logging)?

1 vote
0 answers
54 views
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.
Asked by immeëmosol (111 rep)
Jul 11, 2014, 03:27 PM