Compare commits
15 Commits
f3bec24fa3
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 6972c7061d | |||
| 3eded8ede4 | |||
| e16bbaa7f6 | |||
| f7a2aa412c | |||
| b78f128cbe | |||
| 58fb07c6cc | |||
| 30433b7773 | |||
| 9460891d1c | |||
| bff3c24c90 | |||
| 8ef9527036 | |||
| 617bbfa3f2 | |||
| d4ec096c0d | |||
| 3b1a7ccf4e | |||
| 6522234352 | |||
| 2eede9f6a0 |
@@ -1,5 +1,5 @@
|
||||
/var/log/mysql/mysql.log
|
||||
/var/log/mysql/mysql.err
|
||||
/var/log/mysql/mysql-err.log
|
||||
/var/log/mysql/slow_query.log
|
||||
{
|
||||
daily
|
||||
|
||||
@@ -499,7 +499,7 @@ thread_stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - ft_min_word_len
|
||||
|
||||
@@ -630,7 +630,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
|
||||
@@ -629,7 +629,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
|
||||
1239
Example/my.cnf.HUGE.MariaDB-10.11
Normal file
1239
Example/my.cnf.HUGE.MariaDB-10.11
Normal file
File diff suppressed because it is too large
Load Diff
@@ -425,6 +425,17 @@ innodb_log_buffer_size = 256M
|
||||
#innodb-flush-log-at-trx-commit = 1
|
||||
#innodb-flush-log-at-trx-commit = 2
|
||||
|
||||
## - innodb_ft_cache_size
|
||||
## -
|
||||
## - InnoDB Fulltext search cache size in bytes.
|
||||
## -
|
||||
## - Cache size available for a parsed document while creating an
|
||||
## - InnoDB FULLTEXT index.
|
||||
## -
|
||||
## - Deafult: 8000000 # ~ 7,6 MB
|
||||
## -
|
||||
innodb_ft_cache_size = 24M
|
||||
|
||||
## - innodb_lock_wait_timeout
|
||||
## -
|
||||
## - The length of time in seconds an InnoDB transaction waits for a row
|
||||
@@ -598,7 +609,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
|
||||
@@ -469,6 +469,17 @@ innodb_log_buffer_size = 256M
|
||||
#innodb-flush-log-at-trx-commit = 1
|
||||
#innodb-flush-log-at-trx-commit = 2
|
||||
|
||||
## - innodb_ft_cache_size
|
||||
## -
|
||||
## - InnoDB Fulltext search cache size in bytes.
|
||||
## -
|
||||
## - Cache size available for a parsed document while creating an
|
||||
## - InnoDB FULLTEXT index.
|
||||
## -
|
||||
## - Deafult: 8000000 # ~ 7,6 MB
|
||||
## -
|
||||
innodb_ft_cache_size = 24M
|
||||
|
||||
## - innodb_lock_wait_timeout
|
||||
## -
|
||||
## - The length of time in seconds an InnoDB transaction waits for a row
|
||||
@@ -642,7 +653,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
@@ -877,6 +888,25 @@ max_heap_table_size = 2048M
|
||||
tmp_table_size = 2048M
|
||||
|
||||
|
||||
## - optimizer_switch
|
||||
## -
|
||||
## - see:
|
||||
## - https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_optimizer_switch
|
||||
## - https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_switch
|
||||
## -
|
||||
## - The optimizer_switch system variable enables control over optimizer
|
||||
## - behavior. The value of this variable is a set of flags, each of which
|
||||
## - has a value of on or off to indicate whether the corresponding optimizer
|
||||
## - behavior is enabled or disabled. This variable has global and session
|
||||
## - values and can be changed at runtime. The global default can be set at
|
||||
## - server startup.
|
||||
## -
|
||||
## - To see the current set of optimizer flags, select the variable value:
|
||||
## -
|
||||
## - mysql> SELECT @@optimizer_switch\G
|
||||
## -
|
||||
#optimizer_switch = ''
|
||||
|
||||
## - angepasste Einstellungen
|
||||
## ------------------------------------------
|
||||
|
||||
@@ -984,6 +1014,44 @@ query_cache_size = 1024M
|
||||
## -------------
|
||||
|
||||
|
||||
## - optimizer_switch
|
||||
## -
|
||||
## - see:
|
||||
## - https://mariadb.com/kb/en/server-system-variables/#optimizer_switch
|
||||
## - https://mariadb.com/kb/en/optimizer-switch
|
||||
## -
|
||||
## - Description: A series of flags for controlling the query optimizer.
|
||||
## - See 'https://mariadb.com/kb/en/optimizer-switch/' for defaults, and
|
||||
## - a comparison to MySQL.
|
||||
## -
|
||||
## - To see the current set of optimizer flags, select the variable value:
|
||||
## -
|
||||
## - mysql> SELECT @@optimizer_switch\G
|
||||
## -
|
||||
optimizer_switch = 'rowid_filter=off'
|
||||
|
||||
|
||||
## - optimizer_use_condition_selectivity
|
||||
## -
|
||||
## - Description: Controls which statistics can be used by the optimizer when
|
||||
## - looking for the best query execution plan.
|
||||
## -
|
||||
## - 1 Use selectivity of predicates as in MariaDB 5.5.
|
||||
## -
|
||||
## - 2 Use selectivity of all range predicates supported by indexes.
|
||||
## -
|
||||
## - 3 Use selectivity of all range predicates estimated without histogram.
|
||||
## -
|
||||
## - 4 Use selectivity of all range predicates estimated with histogram.
|
||||
## -
|
||||
## - 5 Additionally use selectivity of certain non-range predicates calculated
|
||||
## - on record sample.
|
||||
## -
|
||||
## - Default Value: 4 (>= MariaDB 10.4.1), 1 (<= MariaDB 10.4.0)
|
||||
## -
|
||||
optimizer_use_condition_selectivity = 1
|
||||
|
||||
|
||||
# This group is only read by MariaDB-10.3 servers.
|
||||
# If you use the same .cnf file for MariaDB of different versions,
|
||||
# use this group for options that older servers don't understand
|
||||
|
||||
1234
Example/my.cnf.MariaDB-10.11
Normal file
1234
Example/my.cnf.MariaDB-10.11
Normal file
File diff suppressed because it is too large
Load Diff
1123
Example/my.cnf.MariaDB-10.5
Normal file
1123
Example/my.cnf.MariaDB-10.5
Normal file
File diff suppressed because it is too large
Load Diff
1241
Example/my.cnf.MariaDB.postfix
Normal file
1241
Example/my.cnf.MariaDB.postfix
Normal file
File diff suppressed because it is too large
Load Diff
@@ -538,7 +538,7 @@ thread-stack = 262144
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
#log-error = /var/log/mysql/error.log
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - ft_min_word_len
|
||||
|
||||
1244
Example/my.cnf.ND.MariaDB-10.11
Normal file
1244
Example/my.cnf.ND.MariaDB-10.11
Normal file
File diff suppressed because it is too large
Load Diff
1239
Example/my.cnf.VERY-HUGE.MariaDB-10.11
Normal file
1239
Example/my.cnf.VERY-HUGE.MariaDB-10.11
Normal file
File diff suppressed because it is too large
Load Diff
@@ -599,7 +599,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
|
||||
@@ -513,6 +513,19 @@ innodb_log_buffer_size = 512M
|
||||
#innodb-flush-log-at-trx-commit = 2
|
||||
#innodb-flush-log-at-trx-commit = 0
|
||||
|
||||
|
||||
## - innodb_ft_cache_size
|
||||
## -
|
||||
## - InnoDB Fulltext search cache size in bytes.
|
||||
## -
|
||||
## - Cache size available for a parsed document while creating an
|
||||
## - InnoDB FULLTEXT index.
|
||||
## -
|
||||
## - Deafult: 8000000 # ~ 7,6 MB
|
||||
## -
|
||||
innodb_ft_cache_size = 24M
|
||||
|
||||
|
||||
## - innodb_lock_wait_timeout
|
||||
## -
|
||||
## - The length of time in seconds an InnoDB transaction waits for a row
|
||||
@@ -743,7 +756,7 @@ general_log = OFF
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## --------------
|
||||
@@ -947,6 +960,26 @@ max_heap_table_size = 2048M
|
||||
tmp_table_size = 2048M
|
||||
|
||||
|
||||
## - optimizer_switch
|
||||
## -
|
||||
## - see:
|
||||
## - https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_optimizer_switch
|
||||
## - https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_optimizer_switch
|
||||
## -
|
||||
## - The optimizer_switch system variable enables control over optimizer
|
||||
## - behavior. The value of this variable is a set of flags, each of which
|
||||
## - has a value of on or off to indicate whether the corresponding optimizer
|
||||
## - behavior is enabled or disabled. This variable has global and session
|
||||
## - values and can be changed at runtime. The global default can be set at
|
||||
## - server startup.
|
||||
## -
|
||||
## - To see the current set of optimizer flags, select the variable value:
|
||||
## -
|
||||
## - mysql> SELECT @@optimizer_switch\G
|
||||
## -
|
||||
#optimizer_switch = ''
|
||||
|
||||
|
||||
## - angepasste Einstellungen
|
||||
## ------------------------------------------
|
||||
|
||||
@@ -1057,6 +1090,43 @@ query-cache-size = 0
|
||||
## -------------
|
||||
|
||||
|
||||
## - optimizer_switch
|
||||
## -
|
||||
## - see:
|
||||
## - https://mariadb.com/kb/en/server-system-variables/#optimizer_switch
|
||||
## - https://mariadb.com/kb/en/optimizer-switch
|
||||
## -
|
||||
## - Description: A series of flags for controlling the query optimizer.
|
||||
## - See 'https://mariadb.com/kb/en/optimizer-switch/' for defaults, and
|
||||
## - a comparison to MySQL.
|
||||
## -
|
||||
## - To see the current set of optimizer flags, select the variable value:
|
||||
## -
|
||||
## - mysql> SELECT @@optimizer_switch\G
|
||||
## -
|
||||
optimizer_switch = 'rowid_filter=off'
|
||||
|
||||
|
||||
## - optimizer_use_condition_selectivity
|
||||
## -
|
||||
## - Description: Controls which statistics can be used by the optimizer when
|
||||
## - looking for the best query execution plan.
|
||||
## -
|
||||
## - 1 Use selectivity of predicates as in MariaDB 5.5.
|
||||
## -
|
||||
## - 2 Use selectivity of all range predicates supported by indexes.
|
||||
## -
|
||||
## - 3 Use selectivity of all range predicates estimated without histogram.
|
||||
## -
|
||||
## - 4 Use selectivity of all range predicates estimated with histogram.
|
||||
## -
|
||||
## - 5 Additionally use selectivity of certain non-range predicates calculated
|
||||
## - on record sample.
|
||||
## -
|
||||
## - Default Value: 4 (>= MariaDB 10.4.1), 1 (<= MariaDB 10.4.0)
|
||||
## -
|
||||
optimizer_use_condition_selectivity = 1
|
||||
|
||||
# This group is only read by MariaDB-10.3 servers.
|
||||
# If you use the same .cnf file for MariaDB of different versions,
|
||||
# use this group for options that older servers don't understand
|
||||
|
||||
@@ -593,7 +593,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
|
||||
1237
Example/my.cnf.WF-web0.MariaDB-10.11
Normal file
1237
Example/my.cnf.WF-web0.MariaDB-10.11
Normal file
File diff suppressed because it is too large
Load Diff
@@ -188,7 +188,7 @@ explicit_defaults_for_timestamp = true
|
||||
|
||||
## - Loggt Startup Messages und Fehler
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
## - Query Log
|
||||
## -
|
||||
|
||||
@@ -574,7 +574,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
|
||||
@@ -589,7 +589,7 @@ thread-stack = 262144
|
||||
## - name, MySQL uses host_name.err. If the file name has no extension,
|
||||
## - the server adds an extension of .err.
|
||||
## -
|
||||
log-error = /var/log/mysql/mysql.err
|
||||
log-error = /var/log/mysql/mysql-err.log
|
||||
|
||||
|
||||
## - Query Log
|
||||
|
||||
50
README.install-openssl-1.1.1
Normal file
50
README.install-openssl-1.1.1
Normal file
@@ -0,0 +1,50 @@
|
||||
# ----------
|
||||
# Install openssl version 1.x
|
||||
# ----------
|
||||
|
||||
|
||||
OPENSSL1_VERSION="1.1.1w"
|
||||
|
||||
_archive_file="openssl-${OPENSSL1_VERSION}.tgz"
|
||||
_download_url="https://www.openssl.org/source/openssl-${OPENSSL1_VERSION}.tar.gz"
|
||||
|
||||
_src_dir="/usr/local/src/openssl"
|
||||
_build_dir="${_src_dir}/openssl-${OPENSSL1_VERSION}"
|
||||
_install_dir="/usr/local/openssl-${OPENSSL1_VERSION}"
|
||||
|
||||
|
||||
# Create source directory
|
||||
#
|
||||
mkdir -p "$_src_dir"
|
||||
|
||||
# Get source '$_archive_file' ..
|
||||
#
|
||||
wget -O "${_src_dir}/$_archive_file" ${_download_url}
|
||||
|
||||
# Unpack archive '$_archive_file'..
|
||||
#
|
||||
cd "$_src_dir"
|
||||
gunzip < "${_archive_file}" | tar -xf -
|
||||
|
||||
|
||||
# Configure openssl
|
||||
#
|
||||
cd "$_build_dir"
|
||||
config_params="--prefix=${_install_dir} --openssldir=${_install_dir}"
|
||||
./config ${config_params}
|
||||
|
||||
|
||||
# Compile openssl
|
||||
#
|
||||
make
|
||||
|
||||
|
||||
# Install openssl
|
||||
#
|
||||
make install
|
||||
|
||||
|
||||
# Set symlink /usr/local/openssl -> /usr/local/openssl-${OPENSSL1_VERSION}
|
||||
#
|
||||
ln -s openssl-${OPENSSL1_VERSION} /usr/local/openssl-1.1.1
|
||||
|
||||
30
README.update-alternatives
Normal file
30
README.update-alternatives
Normal file
@@ -0,0 +1,30 @@
|
||||
|
||||
|
||||
# list available targets
|
||||
#
|
||||
update-alternatives --list my.cnf
|
||||
|
||||
# show further information including current selection, best selection and priority, where
|
||||
# a higher value has priority (automatic selection)
|
||||
#
|
||||
update-alternatives --display my.cnf
|
||||
|
||||
|
||||
# To select a specific implementation, use the following command as root and then select
|
||||
# a number from the list:
|
||||
#
|
||||
# also useful to see the current selection
|
||||
#
|
||||
update-alternatives --config my.cnf
|
||||
|
||||
|
||||
# Return to automatic selection
|
||||
#
|
||||
update-alternatives --auto my.cnf
|
||||
|
||||
|
||||
# delete an alternative
|
||||
#
|
||||
# update-alternatives --remove my.cnf <Pfad>
|
||||
#
|
||||
update-alternatives --remove my.cnf /usr/local/mysql/etc/my.cnf
|
||||
@@ -833,6 +833,9 @@ if $INSTALL_SYSTEMD_SERVICE ; then
|
||||
MYSQL_SERVICE_FILE="mysqld.service"
|
||||
SYSTEMD_PID_DIR="$MYSQL_DATA_DIR"
|
||||
fi
|
||||
|
||||
SYSTEMD_ENV_FILE="/etc/systemd/system/${MYSQL_DISTRIBUTION,,}-${MYSQL_VERSION}.env"
|
||||
|
||||
else
|
||||
if $PARALLEL_INSTALLATION ; then
|
||||
MYSQL_SYSV_INIT_SCRIPT="${MYSQL_DISTRIBUTION,,}-${MYSQL_VERSION}.server"
|
||||
@@ -840,8 +843,6 @@ else
|
||||
else
|
||||
MYSQL_SYSV_INIT_SCRIPT="mysql.server"
|
||||
fi
|
||||
|
||||
SYSTEMD_ENV_FILE="/etc/systemd/system/${MYSQL_DISTRIBUTION,,}-${MYSQL_VERSION}.env"
|
||||
fi
|
||||
|
||||
|
||||
@@ -898,6 +899,7 @@ echo "Systemd Unterstützung.....: $SYSTEMD_EXISTS"
|
||||
if $INSTALL_SYSTEMD_SERVICE ; then
|
||||
echo "Starmethode...............: Systemd Service"
|
||||
echo "MySQL Service File........: $MYSQL_SERVICE_FILE"
|
||||
echo "MySQL Environment File....: $SYSTEMD_ENV_FILE"
|
||||
echo "Systemd pid directory.....: $SYSTEMD_PID_DIR"
|
||||
else
|
||||
echo "Starmethode...............: SysVinit Script"
|
||||
@@ -1020,6 +1022,7 @@ echo "## - Systemd Unterstützung.....: $SYSTEMD_EXISTS" >> ${logdir}/main.log
|
||||
if $INSTALL_SYSTEMD_SERVICE ; then
|
||||
echo "## - Starmethode...............: Systemd Service" >> ${logdir}/main.log
|
||||
echo "## - MySQL Service File........: $MYSQL_SERVICE_FILE" >> ${logdir}/main.log
|
||||
echo "## - MySQL Environment File....: $SYSTEMD_ENV_FILE" >> ${logdir}/main.log
|
||||
echo "## - Systemd pid directory.....: $SYSTEMD_PID_DIR" >> ${logdir}/main.log
|
||||
else
|
||||
echo "## - Starmethode...............: SysVinit Script" >> ${logdir}/main.log
|
||||
@@ -1070,6 +1073,7 @@ echo "SYMLINK_DATA_DIR=$SYMLINK_DATA_DIR" >> ${logdir}/main.log
|
||||
echo "SYSTEMD_EXISTS=$SYSTEMD_EXISTS" >> ${logdir}/main.log
|
||||
echo "INSTALL_SYSTEMD_SERVICE=$INSTALL_SYSTEMD_SERVICE" >> ${logdir}/main.log
|
||||
echo "MYSQL_SERVICE_FILE=$MYSQL_SERVICE_FILE" >> ${logdir}/main.log
|
||||
echo "SYSTEMD_ENV_FILE=$SYSTEMD_ENV_FILE"
|
||||
echo "SYSTEMD_PID_DIR=$SYSTEMD_PID_DIR" >> ${logdir}/main.log
|
||||
echo "MYSQL_SYSV_INIT_SCRIPT=$MYSQL_SYSV_INIT_SCRIPT" >> ${logdir}/main.log
|
||||
echo "VSERVER_GUEST=$VSERVER_GUEST" >> ${logdir}/main.log
|
||||
@@ -3659,9 +3663,12 @@ innodb_buffer_pool_size = 4G
|
||||
## -
|
||||
## - The size in bytes of each log file in a log group.
|
||||
## -
|
||||
## - Default: 5242880 (5M)
|
||||
## - Default:
|
||||
## - 50331648 (50M) (MySQL)
|
||||
## - 100663296 (96MB) (>= MariaDB 10.5)
|
||||
## - 50331648 (48MB) (<= MariaDB 10.4)
|
||||
## -
|
||||
## (Set .._log_file_size to 25 % of buffer pool size)
|
||||
## - (Set .._log_file_size to 25 % of buffer pool size)
|
||||
## -
|
||||
#innodb-log-file-size = 100M
|
||||
#innodb-log-file-size = 256M
|
||||
@@ -3672,7 +3679,7 @@ innodb_log_file_size = 512M
|
||||
## - The size in bytes of the buffer that InnoDB uses to write to the
|
||||
## - log files on disk.
|
||||
## -
|
||||
## - Default: 8388608 (8M)
|
||||
## - Default: 16777216 (16M)
|
||||
## -
|
||||
#innodb-log-buffer-size = 8M
|
||||
#innodb-log-buffer-size = 32M
|
||||
@@ -6045,23 +6052,32 @@ EOF
|
||||
error "Setting open_files_limit (LimitNOFILE) to $(ulimit -Hn) failed!"
|
||||
fi
|
||||
|
||||
echononl "Create environmet file fo systemd service.."
|
||||
echononl "Create environmet file '${SYSTEMD_ENV_FILE}' for systemd service.."
|
||||
echo "" >> ${logdir}/main.log
|
||||
echo "## - Create environmet file fo systemd service.." >> ${logdir}/main.log
|
||||
echo "## - Create environmet file '${SYSTEMD_ENV_FILE}' for systemd service.." >> ${logdir}/main.log
|
||||
echo "## -" >> ${logdir}/main.log
|
||||
echo "cat <<EOF > $SYSTEMD_ENV_FILE
|
||||
MYSQL_HOME=\"$MYSQL_INSTALL_DIR\"
|
||||
EOF
|
||||
" >> ${logdir}/main.log
|
||||
cat <<EOF > $SYSTEMD_ENV_FILE
|
||||
MYSQL_HOME="$MYSQL_INSTALL_DIR"
|
||||
EOF
|
||||
if [[ $? -eq 0 ]] ; then
|
||||
echo_ok
|
||||
else
|
||||
echo_failed
|
||||
error "Creating environmet file fo systemd service failed!"
|
||||
|
||||
echononl "continue anyway [yes/no]: "
|
||||
read OK
|
||||
OK="$(echo "$OK" | tr '[:upper:]' '[:lower:]')"
|
||||
while [[ "$OK" != "yes" ]] && [[ "$OK" != "no" ]] ; do
|
||||
echononl "Wrong entry! - repeat [yes/nno]: "
|
||||
read OK
|
||||
done
|
||||
[[ $OK = "yes" ]] || fatal "Abbruch durch User"
|
||||
fi
|
||||
cat <<EOF > $SYSTEMD_ENV_FILE
|
||||
MYSQL_HOME="$MYSQL_INSTALL_DIR"
|
||||
EOF
|
||||
|
||||
echononl "Add/Replace 'EnvironmentFile' variable at service file .."
|
||||
echo "" >> ${logdir}/main.log
|
||||
|
||||
7147
install_mysql_openssl_111.sh
Executable file
7147
install_mysql_openssl_111.sh
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user