Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Nov 2017 06:47:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223463] databases/mysql56-client: mysql CLI does not allow to input non-ascii (Cyrillic) characters
Message-ID:  <bug-223463-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223463

            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@freebsd.org
          Reporter: vas@mpeks.tomsk.su
          Assignee: mmokhi@freebsd.org
             Flags: maintainer-feedback?(mmokhi@freebsd.org)

I have LANG=3Dru_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@gw:~ # mysql -e status
--------------
mysql  Ver 14.14 Distrib 5.6.38, for FreeBSD10.4 (amd64) using  EditLine
wrapper

Connection id:          46
Current database:=20=20=20=20=20=20=20
Current user:           root@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  Op=
en
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>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223463-13>