1 Star 0 Fork 21

JackloveYY/Kiwi-TCMS

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
99-charset.sh 534 Bytes
一键复制 编辑 原始数据 按行查看 历史
# workaround for missing charset & collation support
# https://github.com/sclorg/mariadb-container/pull/125
if [ -v MYSQL_CHARSET ]; then
log_info "Changing character set to ${MYSQL_CHARSET} ..."
mysql $mysql_flags <<EOSQL
ALTER DATABASE \`${MYSQL_DATABASE}\` CHARACTER SET \`${MYSQL_CHARSET}\` ;
EOSQL
fi
if [ -v MYSQL_COLLATION ]; then
log_info "Changing collation to ${MYSQL_COLLATION} ..."
mysql $mysql_flags <<EOSQL
ALTER DATABASE \`${MYSQL_DATABASE}\` COLLATE \`${MYSQL_COLLATION}\` ;
EOSQL
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jackloveyy/Kiwi-TCMS.git
git@gitee.com:jackloveyy/Kiwi-TCMS.git
jackloveyy
Kiwi-TCMS
Kiwi-TCMS
master

搜索帮助