How can I clear the screen in the MySQL console?
MysqlCommand LineMysql Problem Overview
I am not able to clear the screen in the MySQL command line prompt. My screen is filled with tables, data and queries. How can I clear it up?
Mysql Solutions
Solution 1 - Mysql
Ctrl+L
will do it - it's a shell command, but it works well in the MySQL console.
Solution 2 - Mysql
Another possibility is to issue a system command.
For Linux:
mysql> system clear;
For Windows (I'd guess. For Linux I'm sure though):
mysql> system cls;
Solution 3 - Mysql
Try your terminal application's screen clear. There is no such thing as a command to clean the MySQL shell.
On a Mac, you can go to menu Edit → Clear Screen or use the keyboard shortcut ⌥ + Cmd + L.