Bug #33091 mysql console bugs with libedit ("delete" key and typing in russian)
Submitted: 8 Dec 2007 22:04 Modified: 15 Oct 2012 13:35
Reporter: Alexey Rybak Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.0.51 OS:Linux (SuSE)
Assigned to: CPU Architecture:Any
Tags: delete key, libedit, readline, russian

[8 Dec 2007 22:04] Alexey Rybak
Description:
Having 5.0.51 built with defaults on SUSE several annoying errors apper. First, it's impossible to use DELETE key when editing the command: pressing the key just outputs "~". Second, it's impossible to write in Russian in console: letters just don't appear at all. The quick solution is to rebuild MySQL with --without-libedit (thanx to Konstantin Osipov). 

How to repeat:
build mysql with default settings (just ./configure)
do all the install prosedures
open mysql console
then try to press "delete" key, or type in russian characher set (I used ru_RU.UTF-8).
[8 Dec 2007 23:00] Antony Dovgal
It doesn't seem to depend on OS or architecture, but I reproduced it on openSUSE 10.2 64bit.
The issue is clearly caused by the bundled libedit and is not present when using readline which comes with the system.
[14 Dec 2007 15:21] Sveta Smirnova
Thank you for the report.

Sign '~' verified on Linux as described. Russian intput I get corrupted on Mac OSX, but in different way.
[15 Oct 2012 13:35] Erlend Dahl
Fixed in recent versions of 5.1.