From ad5f6cb2281f73bdbd2cdffb3e6a4d6ac3c3fe96 Mon Sep 17 00:00:00 2001 From: heavyrian2012 Date: Mon, 21 Nov 2022 08:34:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- distribution/src/main/resources/wildfirechat.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/distribution/src/main/resources/wildfirechat.conf b/distribution/src/main/resources/wildfirechat.conf index f7c6f9e3..7c017d2b 100755 --- a/distribution/src/main/resources/wildfirechat.conf +++ b/distribution/src/main/resources/wildfirechat.conf @@ -32,6 +32,7 @@ local_port 80 ## 是否使用内置DB。0使用mysql;1使用h2db。 ## MySQL需要把事物隔离级别改成"Read committed",使用命令来修改"set global transaction_isolation='read-committed';",其他数据库默认已经是这个级别不用修改 ## 如果使用MySQL,请在c3p0.xml文件中配置JDBC信息。 +## 如果是MySQL5.7,需要开启长索引的支持,在数据库中执行命令:"set global innodb_large_prefix=on;"。其他版本默认支持,不用修改。 embed.db 1 ## 是否自动清理历史消息记录,当为true时,IM服务会定时扫描t_messages_x和t_user_messages_x表,清除掉3年前的历史消息。