[Bug 223463] databases/mysql56-client: mysql CLI does not allow to input non-ascii (Cyrillic) characters

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 6 06:47:16 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223463

            Bug ID: 223463
           Summary: databases/mysql56-client: mysql CLI does not allow to
                    input non-ascii (Cyrillic) characters
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mmokhi at freebsd.org
          Reporter: vas at mpeks.tomsk.su
          Assignee: mmokhi at freebsd.org
             Flags: maintainer-feedback?(mmokhi at freebsd.org)

I have LANG=ru_RU.UTF-8, when I start /usr/local/bin/mysql, I cannot input
Cyrillic (non-ascii) characters therein. If the database already contains
Cyrillic data, I see them fine, just cannot type them at the prompt.

Of course I can input Cyrillic characters in my regular shell (tcsh), it's only
the mysql shell that has this problem.

This is my MySQL environment:

root at gw:~ # mysql -e status
--------------
mysql  Ver 14.14 Distrib 5.6.38, for FreeBSD10.4 (amd64) using  EditLine
wrapper

Connection id:          46
Current database:       
Current user:           root at localhost
SSL:                    Not in use
Current pager:          stdout
Using outfile:          ''
Using delimiter:        ;
Server version:         5.6.38 Source distribution
Protocol version:       10
Connection:             Localhost via UNIX socket
Server characterset:    utf8
Db     characterset:    utf8
Client characterset:    utf8
Conn.  characterset:    utf8
UNIX socket:            /tmp/mysql.sock
Uptime:                 1 day 15 hours 56 min 45 sec

Threads: 1  Questions: 464  Slow queries: 0  Opens: 88  Flush tables: 1  Open
tables: 81  Queries per second avg: 0.003
--------------

 mysql> show create database bitrix;
+----------+-----------------------------------------------------------------+
| Database | Create Database                                                 |
+----------+-----------------------------------------------------------------+
| bitrix   | CREATE DATABASE `bitrix` /*!40100 DEFAULT CHARACTER SET utf8 */ |
+----------+-----------------------------------------------------------------+
1 row in set (0.00 sec)

mysql>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list