tags:

views:

64

answers:

3
+3  Q: 

Clear mysql screen

Hello everyone,

How do i clear the mysql screen, which i opened through the MySQL Command Line Client?

A: 

You can clear the screen with:

system cls

Or alternatively

\! cls
reko_t
doesn't work here, and neighter any combination of `\!`|`system` + `clear`|`cls` (winXP)
Bozho
Hmm, I'd test it myself if i was on windows, but "system clear" works on OS X and Linux, and if I recall correctly, the command to clear window is "cls" in Windows
reko_t
Won't work in Windows, I just tried. There seems to be no way to do this in Windows.
Pekka
yeah doesn't work in windows...
mithun1538
+1  A: 

There is a number of solutions in Linux like this one, but the consensus seems to be there is none for Windows. See e.g. here or here (scroll to the bottom)

Pekka
+1  A: 

see this answer http://answers.yahoo.com/question/index?qid=20071211222538AALH2BG

Haim Evgi
That Yahoo! Answer is a very stupid one IMO. The mySQL console is there for a purpose. I'm tempted to open a Yahoo account just in order to leave a comment to that effect.
Pekka