차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

mysql_5.6_binary_installation [2016/02/16 02:28] – 만듦 koovmysql_5.6_binary_installation [2016/02/16 02:48] (현재) koov
줄 81: 줄 81:
 이 사용자는 로그인 목적이 아닌 소유의 목적으로 필요한만큼이기 때문에 useradd 명령을 -r 옵션을 사용하여 서버 호스트에 로그인 권한이없는 사용자를 만듭니다. 사용자가 로그인을 허용하는 경우 (또는 useradd 가이 옵션을 지원하지 않는 경우)이 옵션을 선택합니다. 이 사용자는 로그인 목적이 아닌 소유의 목적으로 필요한만큼이기 때문에 useradd 명령을 -r 옵션을 사용하여 서버 호스트에 로그인 권한이없는 사용자를 만듭니다. 사용자가 로그인을 허용하는 경우 (또는 useradd 가이 옵션을 지원하지 않는 경우)이 옵션을 선택합니다.
 </WRAP> </WRAP>
 +
 +===== my.cnf =====
 +
 +<code file my.cnf>
 +# For advice on how to change settings please see
 +# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html
 +
 +[mysqld]
 +#
 +# 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
 +#
 +# 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
 +datadir=/var/lib/mysql
 +socket=/var/lib/mysql/mysql.sock
 +
 +# Disabling symbolic-links is recommended to prevent assorted security risks
 +symbolic-links=0
 +
 +# Recommended in standard MySQL setup
 +sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES 
 +
 +[mysqld_safe]
 +log-error=/var/log/mysqld.log
 +pid-file=/var/run/mysqld/mysqld.pid
 +</code>
 +
  
  • mysql_5.6_binary_installation.1455589718.txt.gz
  • 마지막으로 수정됨: 2016/02/16 02:28
  • 저자 koov