2019-07-05 17:00:22 +08:00

30 lines
546 B
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[mysqld]
port=3306
max_connections=200
max_connect_errors=10
character-set-server=utf8mb4
default_authentication_plugin=mysql_native_password
# 忽略大小写
lower_case_table_names=1
innodb_buffer_pool_size=128M
tmp_table_size=32M
key_buffer_size=32M
# 配置中文分词
#ngram_token_size=2
#ft_min_word_len=2
# 开启慢查询日志记录
slow_query_log = 1
# 记录阈值单位s
long_query_time = 0.3
# 设置查询存储方式
log_output = table
[mysql]
default-character-set=utf8mb4
[client]
port=3306
default-character-set=utf8mb4