how to exit prompt in mysql cmd code example Example: quit mysql To exit from mysql type quit at the mysql> command-prompt