system clear mysql for windows code example Example: how to clear command prompt when using MySQL For window use "\! cls" For Linux use "Ctrl + L"