Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.13, 10.0(EOL), 10.1(EOL)
-
CentOS 6.6, MariaDB 10.1
-
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
|