MySQL prompt meaning

Source: Internet
Author: User

Http://www.splaybow.com/post/mysql-prompt-introduce.html

Mysql>
Be ready to accept the new command.
Description: A prompt that normally waits for input.

-
Wait for the next line of the multiline command.
Description: This is a hint when you are typing a SQL statement into multiple lines. If you enter an SQL statement that does not end with a semicolon.

' >
Wait for the next line, waiting for the end of the string to begin with single quotation marks ("'").
Description: Before you should have entered a single quotation mark, and this single quotation mark does not end, the system waits for you to enter another single quotation mark to match a pair.

">
Wait for the next line, waiting for the end of the string to begin with double quotation marks ("" ").
Description: Before you should have entered a double quotation mark, and this double quotation mark does not end, the system waits for you to enter another double quotation mark to match a pair.

' >
Waits for the next line, waiting for the end of the qualifier to begin with a backslash (' ').
Description: A pair of backslashes is used to cause an identifier, such as field name, table name, and so on.

/*>
Wait for the next line, and wait for the end of the comment to start with/*.
Description: Multi-line comment.

On the meaning of the various prompts of MySQL, this article introduces so much, I hope to have some help, thank you!

MySQL prompt meaning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.