Bug #58680 Windows Clear Screen Command
Submitted: 2 Dec 2010 23:13 Modified: 26 Jul 2019 12:44
Reporter: Henrique Leandro Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S2 (Serious)
Version:5.1 OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: clear, clear screen, cls, screen

[2 Dec 2010 23:13] Henrique Leandro
Description:
I have a customer who asked for a clear screen command line for MySQL on Windows.
After researching, we found out that \! clear, system clear or Crtl+L don't work for windows.

I think it would be important to have this type of command available for Windows. 

How to repeat:
mysql >  cls  or   clear screen  or  system clear or Crtl+L

Suggested fix:
create a mysql command for clear screen > cls
[3 Dec 2010 7:06] Valeriy Kravchuk
Thank you for the problem report. Indeed, this feature is not available on Windows.
[30 Jan 2014 9:10] Rajesh D
yes I too face the same problem bro..
[9 Aug 2014 14:25] Gishan dineth kumara
i have tried all the commands but nothings working for me :(

mysql> !\ clear
mysql> !\ cls
mysql> system cls
mysql> system clear
[22 Aug 2016 14:09] Karan Ahuja
I do face the same issue. Could a fix be provided for this .
[11 Nov 2016 9:42] Jay Prakash
How to clear MYSQL clear screen console
[27 Nov 2016 12:30] Raju L
I think don't have mysql console clear command. Can any one help do we have command for it?
[4 Aug 2017 23:30] venkat reddy
i do have the same issue. can someone provide the solution soon.
[15 Mar 2019 0:26] Caio Dantas
And yet...nothing can be done about this.
[3 May 2019 9:08] Javier Unknown
Almost 9 years and this remains unsolved. It can't be that difficult...
[26 Jul 2019 8:20] Georgi Kodinov
Posted by developer:
 
Implemented as WL#13391.
[26 Jul 2019 8:21] Georgi Kodinov
Posted by developer:
 
WL#13391 enables the system command for windows. So now one can do "system cls".
[26 Jul 2019 12:44] Paul DuBois
Posted by developer:
 
Fixed in 8.0.19.

Previously, the system (\!) command for the mysql command-line client
worked only for Unix and Unix-like systems. It now works on Windows
as well. For example, system cls or \! cls may be used to clear the
screen.