Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to jump previous line when in mysql console ?

enter image description here

i want jump to FROM line ?

Sory for my bad english.

share|improve this question

migrated from stackoverflow.com Dec 1 '11 at 14:18

This question came from our site for professional and enthusiast programmers.

    
should be migrated... –  Arif Dec 1 '11 at 11:02
add comment

2 Answers

up vote 1 down vote accepted

You can't. 3.2. Entering Queries says your only option is to end the query and [Ctrl]+[C] out.

At this point, what do you do? The simplest thing is to cancel the command. However, you cannot just type \c in this case, because mysql interprets it as part of the string that it is collecting. Instead, enter the closing quote character (so mysql knows you've finished the string), then type \c:

share|improve this answer
add comment

Sorry but you cant go to previous line you have to start new query if you want to change it.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.