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

mysql_install_db error processing ignore_db_dirs

Details

    • 10.0.26

    Description

      `mysql_install_db` fails with `An error occurred while storing ignore_db_dirs to a hash.` when a `ignore_db_dirs` value is present in my.cnf.

      [root@mariadb tmp]# /usr/bin/mysql_install_db --basedir=/usr --defaults-extra-file=/etc/my.cnf --datadir=/var/lib/mysql --user=mysql
      Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
      2016-04-22  6:00:33 140718721837088 [Note] /usr/sbin/mysqld (mysqld 10.1.13-MariaDB) starting as process 30747 ...
      2016-04-22  6:00:33 140718721837088 [ERROR] An error occurred while storing ignore_db_dirs to a hash.
      2016-04-22  6:00:33 140718721837088 [ERROR] Aborting
      

      # my.cnf
      #
      # This group is read both both by the client and the server
      # use it for options that affect everything
      #
      [client-server]
       
      [mysqld]
      ignore-db-dirs = lost+found
       
      #
      # include all files from the config directory
      #
      !includedir /etc/my.cnf.d
      

      Attachments

        Activity

          jcotton1123 Jesse Cotton created issue -
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Labels need_feedback
          elenst Elena Stepanova made changes -
          Component/s Scripts & Clients [ 11002 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 10.1 [ 16100 ]
          Affects Version/s 10.0 [ 16000 ]
          Affects Version/s 10.1 [ 16100 ]
          Labels need_feedback upstream-fixed
          elenst Elena Stepanova made changes -
          elenst Elena Stepanova made changes -
          Status Open [ 1 ] Confirmed [ 10101 ]
          serg Sergei Golubchik made changes -
          Assignee Alexey Botchkov [ holyfoot ]
          serg Sergei Golubchik made changes -
          Sprint 10.0.26 [ 73 ]
          holyfoot Alexey Botchkov made changes -
          Status Confirmed [ 10101 ] In Progress [ 3 ]
          holyfoot Alexey Botchkov made changes -
          issue.field.resolutiondate 2016-06-16 10:28:34.0 2016-06-16 10:28:34.453
          holyfoot Alexey Botchkov made changes -
          Fix Version/s 10.0.27 [ 22017 ]
          Fix Version/s 10.0 [ 16000 ]
          Fix Version/s 10.1 [ 16100 ]
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Component/s OTHER [ 10125 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 75424 ] MariaDB v4 [ 150360 ]

          People

            holyfoot Alexey Botchkov
            jcotton1123 Jesse Cotton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.