Before version 8 we need to apply some manual method to clear screen in windows of MySQL. To clear screen we need to do exit from MySQL command line tool then again open the MySQL command line tool.
But after the version 8 a new command comes into picture to clear the command line screen that is given below:-
mysql < SYSTEM CLS;