 
  Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the different MySQL prompts we have on the command line?
As we know that after writing the first line of multiple-line queries, MySQL changes the prompt. The following table shows different MySQL prompts and it's meaning −
| Prompt | Meaning | 
|---|---|
| mysql> | It means MySQL is ready for a new command. | 
| → | It means that MySQL is waiting for the next line of multiple-line command. | 
| ‘> | It means that MySQL is waiting for the next line, waiting for the completion of a string that began with a single quote. | 
| “> | It means that MySQL is waiting for the next line, waiting for the completion of a string that began with a double quote. | 
| `> | It means that MySQL is waiting for the next line, waiting for the completion of an identifier that began with a backtick (`). | 
| /*> | It means that MySQL is waiting for the next line, waiting for the completion of a comment that began with /*. | 
It means that MySQL prompts give valuable feedback with the help of which we can be aware of what MySQL is waiting for.
Advertisements
 