"MySQL 설정파일 my.cnf"의 두 판 사이의 차이

4번째 줄: 4번째 줄:
*기본위치: /etc
*기본위치: /etc


==5.1.47 기본값==
==MySQL 5.1.47 기본값==
<source lang='bash'>
<source lang='bash'>
[mysqld]
[mysqld]
38번째 줄: 38번째 줄:
</source>
</source>


==5.0.77 기본값==
==MySQL 5.0.77 기본값==
<source lang='bash'>
<source lang='bash'>
[mysqld]
[mysqld]

2012년 7월 6일 (금) 15:44 판

my.cnf
MySQL 설정 파일
  • 기본위치: /etc

1 MySQL 5.1.47 기본값

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

# To allow mysqld to connect to a MySQL Cluster management daemon, uncomment
# these lines and adjust the connectstring as needed.
#ndbcluster
#ndb-connectstring="nodeid=4;host=localhost:1186"

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[ndbd]
# If you are running a MySQL Cluster storage daemon (ndbd) on this machine,
# adjust its connection to the management daemon here.
# Note: ndbd init script requires this to include nodeid!
connect-string="nodeid=2;host=localhost:1186"

[ndb_mgm]
# connection string for MySQL Cluster management tool
connect-string="host=localhost:1186"

2 MySQL 5.0.77 기본값

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}