Description of problem: use command mysql connected MySQL server, cannot input Chinese(non-ASCII UTF-8 characters). Version-Release number of selected component (if applicable): community-mysql-5.6.21-5.fc21.x86_64 How reproducible: Steps to Reproduce: 1. connect to MySQL server : #mysql -h 172.17.0.2 -uroot -p 2. input password 3. try to input Chinese via IBus. Actual results: cannot input Chinese. mysql ignore the input. and press enter, mysql cannot read anything. Expected results: When you input Chinese, it will be shown. Additional info: I download mysql-5.6.21.tar.gz, it works normally. Then, I appply all patch of http://pkgs.fedoraproject.org/cgit/community-mysql.git , then execute it, also works normally. So, I guess the problem is in file 'community-mysql.spec'.
Notice: Even this bug is similar to https://bugzilla.redhat.com/show_bug.cgi?id=1187469 , but the official source(mariadb-10.0.17.tar.gz or mariadb-10.0.15.tar.gz from mariadb.org) also cannot input non-ASCII. In this bug, the official source works, rpm package doesn't work.
(In reply to robberphex from comment #1) > Even this bug is similar to > https://bugzilla.redhat.com/show_bug.cgi?id=1187469 , > but the official source(mariadb-10.0.17.tar.gz or mariadb-10.0.15.tar.gz > from mariadb.org) also cannot input non-ASCII. Yes, this seems to be the same issue. > In this bug, the official source works, rpm package doesn't work. I think this is caused by using bundled readline when you used upstream tar ball.. I hope this may be fixed for all packages at once in libedit directly (bug #1202022).
(In reply to Honza Horak from comment #2) > (In reply to robberphex from comment #1) > > Even this bug is similar to > > https://bugzilla.redhat.com/show_bug.cgi?id=1187469 , > > but the official source(mariadb-10.0.17.tar.gz or mariadb-10.0.15.tar.gz > > from mariadb.org) also cannot input non-ASCII. > > Yes, this seems to be the same issue. > > > In this bug, the official source works, rpm package doesn't work. > > I think this is caused by using bundled readline when you used upstream tar > ball.. I hope this may be fixed for all packages at once in libedit directly > (bug #1202022). the Package community-mysql-5.6.23-1.fc21.x86_64 and mariadb-10.0.15-4.fc21.x86_64 with libedit-3.1-10.20141030cvs.fc21.x86_64 works perfectly! Thank you!