Goals
Turn off or disable word wrap on MySQL shell
Solution of Disable Word Wrap on MySQL Shell
We can use external pager such as less
to do the job. Pager in MySQL shell actually is a pipe to another program.
mysql> pager less -SFX PAGER set to 'less -SFX'
That's it. Simple and easy. Now when you have very long output horizontally it will not wrap.
0 comments:
Post a Comment