config root man

Current Path : /etc/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //etc/my57.cnf

[mysqld_safe]
pid-file=/home/mysql57/mysql.pid
#pid-file=/home/mysql/mysql.pid
log-error=/var/log/mysql-error.log

[mysqld]
#skip-grant-tables
user=mysql
port=3307
socket=/tmp/mysql57.sock
#socket=/tmp/mysql.sock
explicit_defaults_for_timestamp=on
datadir=/home/mysql57
#datadir=/home/mysql

innodb_data_file_path=ibdata0:128M:autoextend
###innodb_data_home_dir=/home/mysql57/ibdata
###innodb_log_group_home_dir=/home/mysql57/iblog
tmpdir=/var/tmp

general_log_file=/var/log/mysql.log
slow_query_log_file=/var/lo/mysql-slow.log
innodb_file_per_table = ON
#innodb_strict_mode = OFF

innodb_buffer_pool_size = 256M

skip-external-locking
tmp_table_size = 64M
max_heap_table_size = 64M
#deprecated#table_cache = 512
key_buffer_size = 384M
sort_buffer_size = 2M
read_buffer_size = 2M
read_rnd_buffer_size = 8M
myisam_sort_buffer_size = 64M
query_cache_size = 64M
query_cache_limit = 8M
max_allowed_packet = 16M

max_connections = 70
thread_cache_size = 8
#deprecated#thread_concurrency = 8
wait_timeout = 120

# hs33 - hs40
#character_set_server = utf8
# hs30 - hs32
character_set_server = ujis

skip_character_set_client_handshake
log_bin_trust_function_creators = 1
expire_logs_days = 2
log_bin = log-bin
server_id = 1

# mysql5.6 compatible mode (speedup) => optimizer_switch = condition_fanout_filter=off,derived_merge=off
optimizer_switch = condition_fanout_filter=off,derived_merge=off

# mysql8.0 default
#sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
# mysql5.7 default
#sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'
# mysql5.6 compatible mode (for MyISAM) => sql_mode = disabled ONLY_FULL_GROUP_BY,NO_ZERO_IN_DATE,NO_ZERO_DATE
#sql_mode = 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'

# mysql5.0 compatible mode
sql_mode = 'ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION'

[mysql]
pager
socket=/tmp/mysql57.sock
#socket=/tmp/mysql.sock
# hs33 - hs40
#default-character-set = utf8
# hs30 - hs32
default-character-set = ujis

[mysqldump]
socket=/tmp/mysql57.sock
#socket=/tmp/mysql.sock
# hs33 - hs40
#default-character-set = utf8
# hs30 - hs32
default-character-set = ujis


Man Man