Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-9225

mysql_upgrade segfault due to missing /etc/my.cnf.d

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5, 10.1, 10.0
    • Fix Version/s: 5.5.49
    • Component/s: Scripts & Clients
    • Labels:
    • Environment:
    • Sprint:
      10.0.24

      Description

      Hello, I'm building a custom script which builds/installs/upgrades mariadb from 10.0.22 to 10.1.9. One part of this script is to run mysql_upgrade to ensure that the dbs are properly upgraded from 10.0.22 to 10.1.9.

      In 10.0.22 mysql_upgrade works without issues if '/etc/my.cnf.d' doesn't exists, but seems that this is an issue with 10.1.9:

      root@debian8:~# mysql_upgrade --force -u root -pMyPass -h localhost
      mysql_upgrade: Can't read dir of '/etc/my.cnf.d' (Errcode: 2 "No such file or directory")
      Fatal error in defaults handling. Program aborted
      Segmentation fault

      NOTE: I don't use /etc/my.cnf.d nor I want to.

        Attachments

          Activity

            People

            Assignee:
            cvicentiu Vicențiu Ciorbaru
            Reporter:
            robertalks Robert Milasan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: