public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
data/assets/mysql/docker-entrypoint.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
docker-entrypoint.sh
on main
Author
Date
Commit
Line
Code
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 1
#!/bin/bash
#!/bin/bash
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 2
set -eo pipefail
set -eo pipefail
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 3
shopt -s nullglob
shopt -s nullglob
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 4
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 5
openssl req -x509 -sha256 -newkey rsa:2048 -keyout /var/lib/mysql/sql.key -out /var/lib/mysql/sql.crt -days 3650 -nodes -subj '/CN=mysql'
openssl req -x509 -sha256 -newkey rsa:2048 -keyout /var/lib/mysql/sql.key -out /var/lib/mysql/sql.crt -days 3650 -nodes -subj '/CN=mysql'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 6
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 7
# if command starts with an option, prepend mysqld
# if command starts with an option, prepend mysqld
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 8
if [ "${1:0:1}" = '-' ]; then
if [ "${1:0:1}" = '-' ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 9
set -- mysqld "$@"
set -- mysqld "$@"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 10
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 11
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 12
# skip setup if they want an option that stops mysqld
# skip setup if they want an option that stops mysqld
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 13
wantHelp=
wantHelp=
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 14
for arg; do
for arg; do
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 15
case "$arg" in
case "$arg" in
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 16
-'?'|--help|--print-defaults|-V|--version)
-'?'|--help|--print-defaults|-V|--version)
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 17
wantHelp=1
wantHelp=1
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 18
break
break
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 19
;;
;;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 20
esac
esac
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 21
done
done
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 22
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 23
# usage: file_env VAR [DEFAULT]
# usage: file_env VAR [DEFAULT]
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 24
# ie: file_env 'XYZ_DB_PASSWORD' 'example'
# ie: file_env 'XYZ_DB_PASSWORD' 'example'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 25
# (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of
# (will allow for "$XYZ_DB_PASSWORD_FILE" to fill in the value of
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 26
# "$XYZ_DB_PASSWORD" from a file, especially for Docker's secrets feature)
# "$XYZ_DB_PASSWORD" from a file, especially for Docker's secrets feature)
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 27
file_env() {
file_env() {
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 28
local var="$1"
local var="$1"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 29
local fileVar="${var}_FILE"
local fileVar="${var}_FILE"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 30
local def="${2:-}"
local def="${2:-}"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 31
if [ "${!var:-}" ] && [ "${!fileVar:-}" ]; then
if [ "${!var:-}" ] && [ "${!fileVar:-}" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 32
echo >&2 "error: both $var and $fileVar are set (but are exclusive)"
echo >&2 "error: both $var and $fileVar are set (but are exclusive)"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 33
exit 1
exit 1
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 34
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 35
local val="$def"
local val="$def"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 36
if [ "${!var:-}" ]; then
if [ "${!var:-}" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 37
val="${!var}"
val="${!var}"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 38
elif [ "${!fileVar:-}" ]; then
elif [ "${!fileVar:-}" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 39
val="$(< "${!fileVar}")"
val="$(< "${!fileVar}")"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 40
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 41
export "$var"="$val"
export "$var"="$val"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 42
unset "$fileVar"
unset "$fileVar"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 43
}
}
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 44
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 45
_check_config() {
_check_config() {
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 46
toRun=( "$@" --verbose --help --log-bin-index="$(mktemp -u)" )
toRun=( "$@" --verbose --help --log-bin-index="$(mktemp -u)" )
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 47
if ! errors="$("${toRun[@]}" 2>&1 >/dev/null)"; then
if ! errors="$("${toRun[@]}" 2>&1 >/dev/null)"; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 48
cat >&2 <<-EOM
cat >&2 <<-EOM
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 49
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 50
ERROR: mysqld failed while attempting to check config
ERROR: mysqld failed while attempting to check config
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 51
command was: "${toRun[*]}"
command was: "${toRun[*]}"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 52
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 53
$errors
$errors
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 54
EOM
EOM
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 55
exit 1
exit 1
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 56
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 57
}
}
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 58
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 59
# Fetch value from server config
# Fetch value from server config
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 60
# We use mysqld --verbose --help instead of my_print_defaults because the
# We use mysqld --verbose --help instead of my_print_defaults because the
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 61
# latter only show values present in config files, and not server defaults
# latter only show values present in config files, and not server defaults
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 62
_get_config() {
_get_config() {
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 63
local conf="$1"; shift
local conf="$1"; shift
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 64
"$@" --verbose --help --log-bin-index="$(mktemp -u)" 2>/dev/null | awk '$1 == "'"$conf"'" { print $2; exit }'
"$@" --verbose --help --log-bin-index="$(mktemp -u)" 2>/dev/null | awk '$1 == "'"$conf"'" { print $2; exit }'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 65
}
}
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 66
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 67
# allow the container to be started with `--user`
# allow the container to be started with `--user`
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 68
if [ "$1" = 'mysqld' -a -z "$wantHelp" -a "$(id -u)" = '0' ]; then
if [ "$1" = 'mysqld' -a -z "$wantHelp" -a "$(id -u)" = '0' ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 69
_check_config "$@"
_check_config "$@"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 70
DATADIR="$(_get_config 'datadir' "$@")"
DATADIR="$(_get_config 'datadir' "$@")"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 71
mkdir -p "$DATADIR"
mkdir -p "$DATADIR"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 72
chown -R mysql:mysql "$DATADIR"
chown -R mysql:mysql "$DATADIR"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 73
exec gosu mysql "$BASH_SOURCE" "$@"
exec gosu mysql "$BASH_SOURCE" "$@"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 74
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 75
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 76
if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 77
# still need to check config, container may have started with --user
# still need to check config, container may have started with --user
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 78
_check_config "$@"
_check_config "$@"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 79
# Get config
# Get config
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 80
DATADIR="$(_get_config 'datadir' "$@")"
DATADIR="$(_get_config 'datadir' "$@")"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 81
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 82
if [ ! -d "$DATADIR/mysql" ]; then
if [ ! -d "$DATADIR/mysql" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 83
file_env 'MYSQL_ROOT_PASSWORD'
file_env 'MYSQL_ROOT_PASSWORD'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 84
if [ -z "$MYSQL_ROOT_PASSWORD" -a -z "$MYSQL_ALLOW_EMPTY_PASSWORD" -a -z "$MYSQL_RANDOM_ROOT_PASSWORD" ]; then
if [ -z "$MYSQL_ROOT_PASSWORD" -a -z "$MYSQL_ALLOW_EMPTY_PASSWORD" -a -z "$MYSQL_RANDOM_ROOT_PASSWORD" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 85
echo >&2 'error: database is uninitialized and password option is not specified '
echo >&2 'error: database is uninitialized and password option is not specified '
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 86
echo >&2 ' You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD'
echo >&2 ' You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 87
exit 1
exit 1
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 88
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 89
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 90
mkdir -p "$DATADIR"
mkdir -p "$DATADIR"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 91
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 92
echo 'Initializing database'
echo 'Initializing database'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 93
# "Other options are passed to mysqld." (so we pass all "mysqld" arguments directly here)
# "Other options are passed to mysqld." (so we pass all "mysqld" arguments directly here)
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 94
mysql_install_db --datadir="$DATADIR" --rpm "${@:2}"
mysql_install_db --datadir="$DATADIR" --rpm "${@:2}"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 95
echo 'Database initialized'
echo 'Database initialized'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 96
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 97
SOCKET="$(_get_config 'socket' "$@")"
SOCKET="$(_get_config 'socket' "$@")"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 98
"$@" --skip-networking --socket="${SOCKET}" &
"$@" --skip-networking --socket="${SOCKET}" &
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 99
pid="$!"
pid="$!"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 100
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 101
mysql=( mysql --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" )
mysql=( mysql --protocol=socket -uroot -hlocalhost --socket="${SOCKET}" )
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 102
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 103
for i in {30..0}; do
for i in {30..0}; do
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 104
if echo 'SELECT 1' | "${mysql[@]}" &> /dev/null; then
if echo 'SELECT 1' | "${mysql[@]}" &> /dev/null; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 105
break
break
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 106
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 107
echo 'MySQL init process in progress...'
echo 'MySQL init process in progress...'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 108
sleep 1
sleep 1
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 109
done
done
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 110
if [ "$i" = 0 ]; then
if [ "$i" = 0 ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 111
echo >&2 'MySQL init process failed.'
echo >&2 'MySQL init process failed.'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 112
exit 1
exit 1
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 113
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 114
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 115
if [ -z "$MYSQL_INITDB_SKIP_TZINFO" ]; then
if [ -z "$MYSQL_INITDB_SKIP_TZINFO" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 116
# sed is for https://bugs.mysql.com/bug.php?id=20545
# sed is for https://bugs.mysql.com/bug.php?id=20545
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 117
mysql_tzinfo_to_sql /usr/share/zoneinfo | sed 's/Local time zone must be set--see zic manual page/FCTY/' | "${mysql[@]}" mysql
mysql_tzinfo_to_sql /usr/share/zoneinfo | sed 's/Local time zone must be set--see zic manual page/FCTY/' | "${mysql[@]}" mysql
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 118
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 119
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 120
if [ ! -z "$MYSQL_RANDOM_ROOT_PASSWORD" ]; then
if [ ! -z "$MYSQL_RANDOM_ROOT_PASSWORD" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 121
export MYSQL_ROOT_PASSWORD="$(pwgen -1 32)"
export MYSQL_ROOT_PASSWORD="$(pwgen -1 32)"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 122
echo "GENERATED ROOT PASSWORD: $MYSQL_ROOT_PASSWORD"
echo "GENERATED ROOT PASSWORD: $MYSQL_ROOT_PASSWORD"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 123
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 124
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 125
rootCreate=
rootCreate=
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 126
# default root to listen for connections from anywhere
# default root to listen for connections from anywhere
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 127
file_env 'MYSQL_ROOT_HOST' '%'
file_env 'MYSQL_ROOT_HOST' '%'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 128
if [ ! -z "$MYSQL_ROOT_HOST" -a "$MYSQL_ROOT_HOST" != 'localhost' ]; then
if [ ! -z "$MYSQL_ROOT_HOST" -a "$MYSQL_ROOT_HOST" != 'localhost' ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 129
# no, we don't care if read finds a terminating character in this heredoc
# no, we don't care if read finds a terminating character in this heredoc
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 130
# https://unix.stackexchange.com/questions/265149/why-is-set-o-errexit-breaking-this-read-heredoc-expression/265151#265151
# https://unix.stackexchange.com/questions/265149/why-is-set-o-errexit-breaking-this-read-heredoc-expression/265151#265151
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 131
read -r -d '' rootCreate <<-EOSQL || true
read -r -d '' rootCreate <<-EOSQL || true
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 132
CREATE USER 'root'@'${MYSQL_ROOT_HOST}' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
CREATE USER 'root'@'${MYSQL_ROOT_HOST}' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 133
GRANT ALL ON *.* TO 'root'@'${MYSQL_ROOT_HOST}' WITH GRANT OPTION ;
GRANT ALL ON *.* TO 'root'@'${MYSQL_ROOT_HOST}' WITH GRANT OPTION ;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 134
EOSQL
EOSQL
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 135
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 136
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 137
"${mysql[@]}" <<-EOSQL
"${mysql[@]}" <<-EOSQL
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 138
-- What's done in this file shouldn't be replicated
-- What's done in this file shouldn't be replicated
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 139
-- or products like mysql-fabric won't work
-- or products like mysql-fabric won't work
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 140
SET @@SESSION.SQL_LOG_BIN=0;
SET @@SESSION.SQL_LOG_BIN=0;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 141
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 142
DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys', 'root') OR host NOT IN ('localhost') ;
DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys', 'root') OR host NOT IN ('localhost') ;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 143
SET PASSWORD FOR 'root'@'localhost'=PASSWORD('${MYSQL_ROOT_PASSWORD}') ;
SET PASSWORD FOR 'root'@'localhost'=PASSWORD('${MYSQL_ROOT_PASSWORD}') ;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 144
GRANT ALL ON *.* TO 'root'@'localhost' WITH GRANT OPTION ;
GRANT ALL ON *.* TO 'root'@'localhost' WITH GRANT OPTION ;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 145
${rootCreate}
${rootCreate}
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 146
DROP DATABASE IF EXISTS test ;
DROP DATABASE IF EXISTS test ;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 147
FLUSH PRIVILEGES ;
FLUSH PRIVILEGES ;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 148
EOSQL
EOSQL
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 149
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 150
if [ ! -z "$MYSQL_ROOT_PASSWORD" ]; then
if [ ! -z "$MYSQL_ROOT_PASSWORD" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 151
mysql+=( -p"${MYSQL_ROOT_PASSWORD}" )
mysql+=( -p"${MYSQL_ROOT_PASSWORD}" )
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 152
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 153
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 154
file_env 'MYSQL_DATABASE'
file_env 'MYSQL_DATABASE'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 155
if [ "$MYSQL_DATABASE" ]; then
if [ "$MYSQL_DATABASE" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 156
echo "CREATE DATABASE IF NOT EXISTS \`$MYSQL_DATABASE\` ;" | "${mysql[@]}"
echo "CREATE DATABASE IF NOT EXISTS \`$MYSQL_DATABASE\` ;" | "${mysql[@]}"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 157
mysql+=( "$MYSQL_DATABASE" )
mysql+=( "$MYSQL_DATABASE" )
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 158
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 159
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 160
file_env 'MYSQL_USER'
file_env 'MYSQL_USER'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 161
file_env 'MYSQL_PASSWORD'
file_env 'MYSQL_PASSWORD'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 162
if [ "$MYSQL_USER" -a "$MYSQL_PASSWORD" ]; then
if [ "$MYSQL_USER" -a "$MYSQL_PASSWORD" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 163
echo "CREATE USER '$MYSQL_USER'@'%' IDENTIFIED BY '$MYSQL_PASSWORD' ;" | "${mysql[@]}"
echo "CREATE USER '$MYSQL_USER'@'%' IDENTIFIED BY '$MYSQL_PASSWORD' ;" | "${mysql[@]}"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 164
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 165
if [ "$MYSQL_DATABASE" ]; then
if [ "$MYSQL_DATABASE" ]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 166
echo "GRANT ALL ON \`$MYSQL_DATABASE\`.* TO '$MYSQL_USER'@'%' ;" | "${mysql[@]}"
echo "GRANT ALL ON \`$MYSQL_DATABASE\`.* TO '$MYSQL_USER'@'%' ;" | "${mysql[@]}"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 167
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 168
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 169
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 170
echo
echo
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 171
for f in /docker-entrypoint-initdb.d/*; do
for f in /docker-entrypoint-initdb.d/*; do
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 172
case "$f" in
case "$f" in
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 173
*.sh) echo "$0: running $f"; . "$f" ;;
*.sh) echo "$0: running $f"; . "$f" ;;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 174
*.sql) echo "$0: running $f"; "${mysql[@]}" < "$f"; echo ;;
*.sql) echo "$0: running $f"; "${mysql[@]}" < "$f"; echo ;;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 175
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${mysql[@]}"; echo ;;
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | "${mysql[@]}"; echo ;;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 176
*) echo "$0: ignoring $f" ;;
*) echo "$0: ignoring $f" ;;
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 177
esac
esac
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 178
echo
echo
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 179
done
done
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 180
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 181
if ! kill -s TERM "$pid" || ! wait "$pid"; then
if ! kill -s TERM "$pid" || ! wait "$pid"; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 182
echo >&2 'MySQL init process failed.'
echo >&2 'MySQL init process failed.'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 183
exit 1
exit 1
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 184
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 185
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 186
echo
echo
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 187
echo 'MySQL init process done. Ready for start up.'
echo 'MySQL init process done. Ready for start up.'
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 188
echo
echo
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 189
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 190
fi
fi
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 191
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 192
exec "$@"
exec "$@"