#Suppose if we do not want to execute the command being entered, then we can use the clear \c option to clear the current input. For example, the \c option can be used as follows -
mysql> Select * -> from\c
In the above example, when we use \c in a statement, MySQL clears the current input and returns to the MySQL prompt to accept other statements.
The above is the detailed content of How to cancel a MySQL command being entered?. For more information, please follow other related articles on the PHP Chinese website!