mirror of
https://github.com/myvesta/vesta.git
synced 2024-11-23 05:50:37 -08:00
36 lines
672 B
INI
36 lines
672 B
INI
[mysqld]
|
|
datadir=/var/lib/mysql
|
|
socket=/var/lib/mysql/mysql.sock
|
|
symbolic-links=0
|
|
|
|
skip-external-locking
|
|
key_buffer_size = 32K
|
|
max_allowed_packet = 8M
|
|
table_open_cache = 4
|
|
sort_buffer_size = 128K
|
|
read_buffer_size = 256K
|
|
read_rnd_buffer_size = 256K
|
|
net_buffer_length = 2K
|
|
thread_stack = 240K
|
|
|
|
#innodb_use_native_aio = 0
|
|
innodb_file_per_table
|
|
|
|
max_connections=50
|
|
max_user_connections=25
|
|
wait_timeout=10
|
|
interactive_timeout=50
|
|
long_query_time=5
|
|
|
|
#slow_query_log=1
|
|
#slow_query_log_file=/var/log/mysql-slow-queries.log
|
|
|
|
[mysqld_safe]
|
|
log-error=/var/log/mysqld.log
|
|
pid-file=/var/run/mysqld/mysqld.pid
|
|
|
|
#
|
|
# include all files from the config directory
|
|
#
|
|
!includedir /etc/my.cnf.d
|