Revert MySQL configuration file changes, not needed

This commit is contained in:
Roy Lenferink 2023-01-16 19:41:34 +01:00
parent 781896562e
commit 221ad1ea10
2 changed files with 6 additions and 15 deletions

View File

@ -1,9 +1,3 @@
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld] [mysqld]
character-set-client-handshake = FALSE character-set-client-handshake = FALSE
character-set-server = utf8mb4 character-set-server = utf8mb4
@ -33,3 +27,9 @@ log-warnings = 0
event_scheduler = 1 event_scheduler = 1
interactive_timeout = 3610 interactive_timeout = 3610
wait_timeout = 3610 wait_timeout = 3610
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4

View File

@ -20,12 +20,3 @@ if ! patch -R -s -f --dry-run docker-compose.yml < ${PATCH_FILE} > /dev/null 2>&
else else
echo "docker-compose.yml already patched (or custom changes prevent applying the patch)" echo "docker-compose.yml already patched (or custom changes prevent applying the patch)"
fi 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