The title is my question. I googled and try something like
mysql> !\ clear
mysql> !\ cls
mysql> system cls
mysql> system clear
blah blah ...
but none of them works.
anyone show me how to clear screen, just like cls
command in window
The title is my question. I googled and try something like
mysql> !\ clear
mysql> !\ cls
mysql> system cls
mysql> system clear
blah blah ...
but none of them works.
anyone show me how to clear screen, just like cls
command in window
I handle it as follows:
Open Properties by clicking the upper left console window icon, go to Layout tab, take note of the value set in
Screen Buffer Size->Height
, and change it to 1. Click OK.You'll see a 1 row console. Open Properties again and change that value back to what it had before. Resize the console down and you'll have a clean console.
although there is bug for clearing the screen in MySQL, I have found one tactic trick whatever you want to say...
you can easily clear the screen using this...
just press ( ctrl + down arrow ) until you reach to top... happy codding...
Just scroll down with your mouse
In Linux Ctrl+L will do but if your scroll up you will see the old commands
So I would suggest scrolling down in windows using mouse
Well, if you installed MySql Server e.g. Version 5.5. which has it's folder located in:
The best way would be to include it in your paths.
First run
sysdm.cpl
applet fromrun
i.e. WinKey + RNavigate to Advanced -> Environment Variables
Select PATH and Click Edit.
Now you can just call:
via command prompt.
To clear the screen now, you can just
exit
in mysql & callcls
Kinda trickish hack but does the job.
If you're using WAMP or other tool, it's even easier!
Open command prompt and type:
Enter as normal, then whenever you want to clear screen, do:
And then clear using DOS:
You can easily re-enter by pressing up twice to get your mysql call command
SQL> clear scr
This command clears the screen in MYSQL