Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I could not find it. Could you help?

share|improve this question

2 Answers 2

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 http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html.

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

 
discard

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.