Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a command to clear the screen of MYSQL under Windows?

I could not find it. Could you help?

share|improve this question
up vote 1 down vote accepted

As far as I know you cannot clear screen in mysql client on Windows. On Linux there are two ways to do it \! clear or system clear and Ctrl+L. I've thought on Windows it would be possible to do this with \! cls or system cls but that is not the case. Windows mysql has not \! or system command. Quote from docs: 'The system command works only in Unix.'

share|improve this answer
CTRL + L hehehe – Brallan Aguilar Jun 27 '13 at 5:23

Use the "clear" command. Details are at

share|improve this answer
Does 'clear' command clear the screen? It could only clear my previous input command but not the whole screen of the cmd on my computer. – Jichao Oct 7 '10 at 6:22
No, it does not. – Casual Coder Oct 7 '10 at 9:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.