MariaDB10配置文件(Windows)

MariaDB10 基础信息配置及日志开启。

[mysqld]
basedir=E:/Program Files/mariadb10
datadir=E:/Program Files/mariadb10/data
port=3307
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
default_storage_engine=innodb
max_connections=100
query_cache_size=0
innodb_buffer_pool_size=2047M
innodb_log_file_size=50M
max_allowed_packet = 500M
character-set-server=utf8
log-bin=E:/Program Files/mariadb10/log/mysql-bin
log_bin_index=E:/Program Files/mariadb10/log/mysql-bin.index
binlog_format=mixed
expire_logs_days=7
max_binlog_size=100m
binlog_cache_size=4m
max_binlog_cache_size=512m
[client]
port=3307

你可能感兴趣的:(MariaDB)