如何在MySQL中清除屏幕?(复制)

时间:2021-11-23 00:14:06

This question already has an answer here:

这个问题已经有了答案:

I am not able to clear the screen in MySQL command line prompt. My screen is filled with tables, data and queries.I want to clear it up. I searched on the web but couldn't find the satisfactory answer.

我无法在MySQL命令行提示符中清除屏幕。我的屏幕上充满了表、数据和查询。我想把它弄清楚。我在网上搜索,但是没有找到满意的答案。

3 个解决方案

#1


12  

Try your terminal apps screen clear. There is no such as command to clean the MySQL shell.

尝试你的终端应用程序屏幕清除。没有命令可以清除MySQL shell。

On a Mac you can go to Edit > Clear Screen or use the keyboard shortcut: ⌥ + CMD + L.

在Mac上你可以去编辑>清除屏幕或使用键盘快捷键:⌥+ CMD + L。

#2


95  

Ctrl+L

Ctrl + L

will do it - its a shell command but works well on the mysql console

它是shell命令,但在mysql控制台上运行良好吗

#3


53  

Another possibility is to issue a system command.

另一种可能是发出系统命令。

mysql> system clear;

for Linux or

对于Linux或

mysql> system cls;

for windows (I'd guess. For Linux I'm sure though.).

对于windows(我猜。对于Linux,我确定。

#1


12  

Try your terminal apps screen clear. There is no such as command to clean the MySQL shell.

尝试你的终端应用程序屏幕清除。没有命令可以清除MySQL shell。

On a Mac you can go to Edit > Clear Screen or use the keyboard shortcut: ⌥ + CMD + L.

在Mac上你可以去编辑>清除屏幕或使用键盘快捷键:⌥+ CMD + L。

#2


95  

Ctrl+L

Ctrl + L

will do it - its a shell command but works well on the mysql console

它是shell命令,但在mysql控制台上运行良好吗

#3


53  

Another possibility is to issue a system command.

另一种可能是发出系统命令。

mysql> system clear;

for Linux or

对于Linux或

mysql> system cls;

for windows (I'd guess. For Linux I'm sure though.).

对于windows(我猜。对于Linux,我确定。