Ignore-db-dir option is not available in MySQL 8
Related: BZ#1620520
This commit is contained in:
parent
15435c079d
commit
ec9d2ad3d8
2 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue