Ignore-db-dir option is not available in MySQL 8

Related: BZ#1620520
This commit is contained in:
Jakub Janco 2018-09-03 13:32:40 +02:00 committed by Honza Horak
commit ec9d2ad3d8
2 changed files with 1 additions and 4 deletions

View file

@ -6,7 +6,4 @@ symbolic-links = 0
# http://www.percona.com/blog/2008/05/31/dns-achilles-heel-mysql-installation/
skip_name_resolve
# http://www.chriscalender.com/ignoring-the-lostfound-directory-in-your-datadir/
ignore-db-dir=lost+found
!includedir /etc/my.cnf.d

View file

@ -101,7 +101,7 @@ function initialize_database() {
# Using --rpm since we need mysql_install_db behaves as in RPM
log_and_run mysql_install_db --rpm --datadir=$MYSQL_DATADIR
else
log_initialization ${MYSQL_PREFIX}/libexec/mysqld --initialize --datadir=$MYSQL_DATADIR --ignore-db-dir=lost+found
log_initialization ${MYSQL_PREFIX}/libexec/mysqld --initialize --datadir=$MYSQL_DATADIR
fi
# The '--initialize' option sets an auto generated root password.