How to adjust display settings of mysql command line?

前端 未结 5 1790
被撕碎了的回忆
被撕碎了的回忆 2021-01-30 08:57

Command Line of mysql is not displaying results properly. I mean some columns of table are in 1st line some in 2nd line. Output is also broken into two rows. How do I adjust the

5条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-30 09:29

    To set the scrolling automatically add this to your my.cnf file in the [client] section like this:

    [client]
    pager = less -n -i -S
    

提交回复
热议问题