tongyi007 发表于 2018-10-11 09:45:05

mysql5.6.12 源码安装记录

  
# Remove leading # and set to the amount of RAM for the most important data
  
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
  
# innodb_buffer_pool_size = 128M
  
# Remove leading # to turn on a very important data integrity option: logging
  
# changes to the binary log between backups.
  
#log_bin =
  
datadir = /usr/local/mysql/data
  
log-error = /var/lib/mysql/mysql.error
  
general_log = 1
  
general_log_file = /var/lib/mysql/mysql.log
  
# These are commonly set, remove the # and set as required.
  
user = mysql
  
basedir = /usr/local/mysql
  
tmpdir = /tmp
  
# datadir = .....
  
port = 3306
  
server_id = 10
  
#socket = ....
  
# Remove leading # to set options mainly useful for reporting servers.
  
# The server defaults are faster for transactions and fast SELECTs.
  
# Adjust sizes as needed, experiment to find the optimal values.
  
# join_buffer_size = 128M
  
# sort_buffer_size = 2M
  
# read_rnd_buffer_size = 2M
  
#sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES


页: [1]
查看完整版本: mysql5.6.12 源码安装记录