Clear Screen for Mysql Command Line Client
I Am Unable to Clear the Screen of the Mysql Command Line Client Like I Know in Case of Java It Is 'Cls'. 3 4 Answers There Is a Number of Solutions in Linux...
I am unable to clear the screen of the mysql command line client like I know in case of java it is 'cls'.
4 Answers
In Unix or Linux you can use the:
system clear
Also you may try to use Ctrl + L in linux
However if you are using Windows then I think it is not possible. You may refer to this bug which is reported for the same for windows.
The only best think I can think of is you can only Exit MySql, Type CLS and then re-enter MySql.
Try \! cls; worked for me on Win 10, MySQL Command Line Client 8.0
Are you using a Unix client? Try Ctrl + L. Might even work on Windows too ...