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.

I use Putty to connect to a Linux machine from a Windows machine via ssh. The keyboard works just fine in Bash.

But in the mySQL prompt, the Del key prints a ~ intsead of erasing a character.

Any idea how to make it work?

share|improve this question

1 Answer 1

Looks like a bug (missing feature) in the EditLine library, which is sometimes used by MySQL:
http://bugs.mysql.com/bug.php?id=294, http://bugs.mysql.com/bug.php?id=33091

Sadly, my MySQL installation does use this lib:

$ mysql --version
mysql Ver 14.12 Distrib 5.0.96, for suse-linux-gnu (x86_64) using EditLine wrapper

so I guess I'll have to accept that.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.