Fixed charset for MySQL on Alpine

This commit is contained in:
Alexey Pustovalov 2022-02-10 03:05:27 +05:00
parent 65f1fd4fc9
commit acba8cc7c5
4 changed files with 4 additions and 0 deletions

View File

@ -417,6 +417,7 @@ services:
- mysqld - mysqld
- --character-set-server=utf8mb4 - --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin - --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password - --default-authentication-plugin=mysql_native_password
# - --require-secure-transport # - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem # - --ssl-ca=/run/secrets/root-ca.pem

View File

@ -513,6 +513,7 @@ services:
- mysqld - mysqld
- --character-set-server=utf8mb4 - --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin - --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password - --default-authentication-plugin=mysql_native_password
# - --require-secure-transport # - --require-secure-transport
# - --ssl-ca=/run/secrets/root-ca.pem # - --ssl-ca=/run/secrets/root-ca.pem

View File

@ -415,6 +415,7 @@ services:
- mysqld - mysqld
- --character-set-server=utf8mb4 - --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin - --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password - --default-authentication-plugin=mysql_native_password
volumes: volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw - ./zbx_env/var/lib/mysql:/var/lib/mysql:rw

View File

@ -522,6 +522,7 @@ services:
- mysqld - mysqld
- --character-set-server=utf8mb4 - --character-set-server=utf8mb4
- --collation-server=utf8mb4_bin - --collation-server=utf8mb4_bin
- --skip-character-set-client-handshake
- --default-authentication-plugin=mysql_native_password - --default-authentication-plugin=mysql_native_password
volumes: volumes:
- ./zbx_env/var/lib/mysql:/var/lib/mysql:rw - ./zbx_env/var/lib/mysql:/var/lib/mysql:rw