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

mysql_install_db error processing ignore_db_dirs

    XMLWordPrintable

    Details

    • Sprint:
      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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: