mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-21 13:00:11 -08:00
52 lines
1.0 KiB
INI
52 lines
1.0 KiB
INI
[client]
|
|
default-character-set=utf8mb4
|
|
port=3306
|
|
socket=/var/run/mysqld/mysqld.sock
|
|
|
|
[mysqld_safe]
|
|
socket=/var/run/mysqld/mysqld.sock
|
|
|
|
[mysql]
|
|
default-character-set=utf8mb4
|
|
|
|
[mysqld]
|
|
collation-server = utf8mb4_unicode_520_ci
|
|
init-connect='SET NAMES utf8mb4'
|
|
character-set-server = utf8mb4
|
|
user=mysql
|
|
pid-file=/var/run/mysqld/mysqld.pid
|
|
socket=/var/run/mysqld/mysqld.sock
|
|
port=3306
|
|
basedir=/usr
|
|
datadir=/var/lib/mysql
|
|
tmpdir=/tmp
|
|
lc-messages-dir=/usr/share/mysql
|
|
log_error=/var/log/mysql/error.log
|
|
|
|
symbolic-links=0
|
|
|
|
skip-external-locking
|
|
key_buffer_size = 256M
|
|
max_allowed_packet = 32M
|
|
table_open_cache = 256
|
|
sort_buffer_size = 1M
|
|
read_buffer_size = 1M
|
|
read_rnd_buffer_size = 4M
|
|
myisam_sort_buffer_size = 64M
|
|
thread_cache_size = 8
|
|
query_cache_size= 16M
|
|
thread_concurrency = 8
|
|
|
|
#innodb_use_native_aio = 0
|
|
innodb_file_per_table
|
|
|
|
max_connections=200
|
|
max_user_connections=50
|
|
wait_timeout=10
|
|
interactive_timeout=50
|
|
long_query_time=5
|
|
|
|
sql_mode=ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
|
|
|
!includedir /etc/mysql/conf.d/
|