Revert MySQL configuration file changes, not needed
This commit is contained in:
parent
781896562e
commit
221ad1ea10
|
@ -1,9 +1,3 @@
|
|||
[client]
|
||||
default-character-set = utf8mb4
|
||||
|
||||
[mysql]
|
||||
default-character-set = utf8mb4
|
||||
|
||||
[mysqld]
|
||||
character-set-client-handshake = FALSE
|
||||
character-set-server = utf8mb4
|
||||
|
@ -33,3 +27,9 @@ log-warnings = 0
|
|||
event_scheduler = 1
|
||||
interactive_timeout = 3610
|
||||
wait_timeout = 3610
|
||||
|
||||
[client]
|
||||
default-character-set = utf8mb4
|
||||
|
||||
[mysql]
|
||||
default-character-set = utf8mb4
|
||||
|
|
|
@ -20,12 +20,3 @@ if ! patch -R -s -f --dry-run docker-compose.yml < ${PATCH_FILE} > /dev/null 2>&
|
|||
else
|
||||
echo "docker-compose.yml already patched (or custom changes prevent applying the patch)"
|
||||
fi
|
||||
|
||||
# Patch the MySQL configuration file
|
||||
MYCNF_PATH="data/conf/mysql/my.cnf"
|
||||
if ! grep "bind_address" ${MYCNF_PATH} > /dev/null 2>&1; then
|
||||
echo "patching file my.cnf"
|
||||
echo "bind_address = 0.0.0.0" >> ${MYCNF_PATH}
|
||||
else
|
||||
echo "my.cnf already patched"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue