Commit e99d3da6 authored by Monty's avatar Monty

Silence the file-key-management plugin during mysql_install_db

This avoids printing the error
"mysqld: file-key-management-filename  is not set"
which can happen if the file-key-management pluging is statically compiled
parent 5acc79d0
...@@ -505,7 +505,7 @@ mysqld_install_cmd_line() ...@@ -505,7 +505,7 @@ mysqld_install_cmd_line()
{ {
"$mysqld_bootstrap" $defaults $defaults_group_suffix "$mysqld_opt" --bootstrap $silent_startup\ "$mysqld_bootstrap" $defaults $defaults_group_suffix "$mysqld_opt" --bootstrap $silent_startup\
"--basedir=$basedir" "--datadir=$ldata" --log-warnings=0 --enforce-storage-engine="" \ "--basedir=$basedir" "--datadir=$ldata" --log-warnings=0 --enforce-storage-engine="" \
"--plugin-dir=${plugindir}" \ "--plugin-dir=${plugindir}" --loose-disable-plugin-file-key-management \
$args --max_allowed_packet=8M \ $args --max_allowed_packet=8M \
--net_buffer_length=16K --net_buffer_length=16K
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment