The title is my question. I googled and try something like
mysql> !\\ clear
mysql> !\\ cls
mysql> system cls
mysql> system clear
blah blah ...
I used the command line client prompt and to clear the screen I typed:-
system cls
mysql console can cleared out on windows by using shortcut key
CTRL + L
Click with contextMenu button on Mysql prompt and choose "Scroll", because I didn't find any way to clean too. =P
EDIT:
I don't think Any of the commands will work. In linux Ctrl-L will do the job. in windows there is no equivalent. You can only Exit MySql, Type CLS
and then re-enter MySql.
you can type the following step:
mysql> exit;
C:\xampp\mysql\bin> cls
C:\xampp\mysql\bin> mysql -u root -h localhost
it's work!
For Window 10
Use the command system cls and this will clear the MYSQL Command Line window in Windows