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

Correct package to install the charsets on CentOS 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.7.30-33, 8.0.20-11
    • 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:
              illia.pshonkin Illia Pshonkin
              Reporter:
              hrvoje.matijakovic Hrvoje Matijakovic
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 4 hours, 55 minutes
                  2d 4h 55m