centos for example:
MySQL how to get the configuration parameter information:
/etc/my.cnf; /etc/myql/my.cnf/; home directory; or specified directory;
scope
Client: Global set global
session set [session]
Memory-related :
determine each link of memory: sort_buffer_size, join_buffer_size; read_buffer_size, read_rnd_bufer_size ;
buffer pool memory: as innodb: innodb_buffer_pool_size; total memory - (each thread of memory required number of connections *) - system memory is reserved;
I / O configuration :
InnoDB Configuration: innodb_log_file_size control the size of a single transaction log; innodb_log_files_in_group, the number of transaction log file size;
inbodb_log_buffer_size; innobd_flush_log_at_trx_commit;
MyISAM configuration: delay_key_write.
Safety-related parameters :
expire_logs_days: dispose of the old binary log;
max_allowed_packet: MySQL can accept the message size;
skip_name_resolve: the DNS lookup;
Other :
max_connections: maximum number of connections;
sync_binlog refresh binlog
and so on;