Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-5735

5.7 package doesn't install charsets on CentOS 7

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
      None

      Description

      /usr/share/mysql/charsets/ folder is missing when 5.7 packages are installed.

      installed packages:

      [root@centos7 ~]# rpm -qa | grep Percona
      Percona-Server-shared-compat-57-5.7.26-29.2.el7.x86_64
      Percona-Server-client-57-5.7.26-29.2.el7.x86_64
      Percona-Server-test-57-5.7.26-29.2.el7.x86_64
      Percona-Server-devel-57-5.7.26-29.2.el7.x86_64
      Percona-Server-rocksdb-57-5.7.26-29.2.el7.x86_64
      Percona-Server-shared-57-5.7.26-29.2.el7.x86_64
      Percona-Server-server-57-5.7.26-29.2.el7.x86_64
      Percona-Server-57-debuginfo-5.7.26-29.2.el7.x86_64
      Percona-Server-tokudb-57-5.7.26-29.2.el7.x86_64
      ...
      [root@centos7 ~]# ls /usr/share/mysql/charsets
      ls: cannot access /usr/share/mysql/charsets: No such file or directory
      

      Compared to upstream:

      [root@centos7 ~]# ls /usr/share/mysql/charsets/
      armscii8.xml  ascii.xml  cp1250.xml  cp1251.xml  cp1256.xml  cp1257.xml  cp850.xml  cp852.xml  cp866.xml  dec8.xml  geostd8.xml  greek.xml  hebrew.xml  hp8.xml  Index.xml  keybcs2.xml  koi8r.xml  koi8u.xml  latin1.xml  latin2.xml  latin5.xml  latin7.xml  macce.xml  macroman.xml  README  swe7.xml
      [root@centos7 ~]# rpm -qa | grep mysql
      mysql80-community-release-el7-2.noarch
      mysql-community-common-5.7.26-1.el7.x86_64
      mysql-community-client-5.7.26-1.el7.x86_64
      mysql-community-libs-compat-5.7.26-1.el7.x86_64
      mysql-community-libs-5.7.26-1.el7.x86_64
      mysql-community-server-5.7.26-1.el7.x86_64
      

      This currently causes issues with mtr run:

      [root@centos7 mysql-test]# ./mtr --big-test --force
      Logging: ./mtr  --big-test --force
      mysql-test-run: *** ERROR: Could not find any of /usr/share/mysql/charsets /usr/sql/share/charsets /usr/share/charsets
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                evgeniy.patlan Evgeniy Patlan
                Reporter:
                hrvoje.matijakovic Hrvoje Matijakovic
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - Not Specified
                  Not Specified
                  Logged:
                  Time Spent - 3 hours
                  3h