主機基本設定

Mysql設定

sql_mode = NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

1118 – Row size too large 欄位過多 解決
innodb_strict_mode=0

[mysql] <- etc/my.cnf.d/mysql-clients.cnf

default-character-set=utf8mb4

[mysqld] <- /etc/my.conf.d/server.cnf

collation-server = utf8mb4_unicode_ci
init-connect='SET NAMES utf8mb4'
character-set-server = utf8mb4