Have you ever felt that your MySQL command-line prompt is getting too untidy and you want to clear it.
Here is how you do it-
To clear the terminal when using MySQL, from within the MySQL server prompt.
mysql>\! clear
Note: \! operator is to run any terminal command from within the mysql server prompt.
e.g. mysql>\! ls
Executes ls command and shows it output, i.e, the contents of the current working directory.
How to clear the MySQL Server Command-Line
October 1, 2010
Uncategorized clear, command, execution, mysql, terminal Leave a comment



