묻고답하기

 서버이전후 간혈적으로 404 db에러가 발생하고 있습니다.


그래서 서버셋팅의 고수님들이 제 my.cnf 셋티에 대해 문제점을 지적 받고 싶어서 이렇게 문의합니다..


mysql server 5.5입니다...


#

# The MySQL database server configuration file.

#

# You can copy this to one of:

# - "/etc/mysql/my.cnf" to set global options,

# - "~/.my.cnf" to set user-specific options.

# One can use all long options that the program supports.

# Run program with --help to get a list of available options and with

# --print-defaults to see which it would actually understand and use.

#

# For explanations see

# http://dev.mysql.com/doc/mysql/en/server-system-variables.html


# This will be passed to all mysql clients

# It has been reported that passwords should be enclosed with ticks/quotes

# escpecially if they contain "#" chars...

# Remember to edit /etc/mysql/debian.cnf when changing the socket location.

[client]

port = 3306

socket = /var/run/mysqld/mysqld.sock


# Here is entries for some specific programs

# The following values assume you have at least 32M ram


# This was formally known as [safe_mysqld]. Both versions are currently parsed.

[mysqld_safe]

socket = /var/run/mysqld/mysqld.sock

nice = 0


[mysqld]

#

# * Basic Settings

#

user = mysql

pid-file = /var/run/mysqld/mysqld.pid

socket = /var/run/mysqld/mysqld.sock

port = 3306

basedir = /usr

datadir = /var/lib/mysql

tmpdir = /tmp

lc-messages-dir = /usr/share/mysql

skip-external-locking

#

# Instead of skip-networking the default is now to listen only on

# localhost which is more compatible and is not less secure.

bind-address = 127.0.0.1

#

# * Fine Tuning

#

key_buffer = 16M

max_allowed_packet = 16M

thread_stack = 192K

thread_cache_size       = 8

# This replaces the startup script and checks MyISAM tables if needed

# the first time they are touched

myisam-recover         = BACKUP

#max_connections        = 100

#table_cache            = 64

#thread_concurrency     = 10

#

# * Query Cache Configuration

#

query_cache_limit = 1M

query_cache_size        = 16M

#

# * Logging and Replication

#

# Both location gets rotated by the cronjob.

# Be aware that this log type is a performance killer.

# As of 5.1 you can enable the log at runtime!

#general_log_file        = /var/log/mysql/mysql.log

#general_log             = 1

#

# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.

#

# Here you can see queries with especially long duration

#log_slow_queries = /var/log/mysql/mysql-slow.log

#long_query_time = 2

#log-queries-not-using-indexes

#

# The following can be used as easy to replay backup logs or for replication.

# note: if you are setting up a replication slave, see README.Debian about

#       other settings you may need to change.

#server-id = 1

#log_bin = /var/log/mysql/mysql-bin.log

expire_logs_days = 10

max_binlog_size         = 100M

#binlog_do_db = include_database_name

#binlog_ignore_db = include_database_name

#

# * InnoDB

#

# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.

# Read the manual for more InnoDB related options. There are many!

#

# * Security Features

#

# Read the manual, too, if you want chroot!

# chroot = /var/lib/mysql/

#

# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".

#

# ssl-ca=/etc/mysql/cacert.pem

# ssl-cert=/etc/mysql/server-cert.pem

# ssl-key=/etc/mysql/server-key.pem




[mysqldump]

quick

quote-names

max_allowed_packet = 16M


[mysql]

#no-auto-rehash # faster start of mysql but no tab completition


[isamchk]

key_buffer = 16M


#

# * IMPORTANT: Additional settings that can override those from this file!

#   The files must end with '.cnf', otherwise they'll be ignored.

#

!includedir /etc/mysql/conf.d/


글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
으흥 매우 초보적인 질문, 파일형식 PC UNIX UTF-8 ANSI [1] 2012.12.05 by 푸시아
디자인짱 contact 모듈 내용전송이 안되요  
띵똥 회원정보에도 제가 만든 레이아웃으로 스킨을 만들고 싶은데요 [1] 2012.12.05 by sejin7940
고딕락 텍스타일 스킨을 수정하고 싶습니다! [1] 2012.12.05 by sejin7940
소누스 댓글의 댓글 작성시 새로운 화면으로 가지않고 아래 댓글창이 나오게 할 수 없을까요?  
오락실주인 소스 암호화 [1] 2012.12.04 by 푸시아
genosaid 랜덤 익명 닉네임에 고정 닉네임 넣는 방법에 대해서 [2] 2012.12.04 by genosaid
곰돌이3 회원정보 데이터를 엑셀로 백업하기 [1] 2012.12.04 by BluesPia[꾸야]
엔아이에이 첨부파일이 안됩니다.  
아수라13 어찌 어찌.. 홈페이지를 만들었는데 게시판 상단내용에 그림까지 넣었는데  
본체 관리자에게 메일발송하기.. 이게 안됩니다. [1] 2012.12.04
어렵다용 회원관리권한 [1] 2012.12.04 by 송동우
토이터 신디케이션에서 제외시킨 게시판은 아예 검색에 안잡히나요? [1] 2012.12.04 by 퍼니엑스이
genosaid 랜덤 익명 기능 적용하고 싶은데요.. [3] 2012.12.04 by genosaid
권캐리 게시판 확장변수 이용시 라디오버튼 배열 문제 [1] 2012.12.04 by 송동우
김용춘 xe 모바일 오류, 부탁드립니다. file  
백용권 이미지 좌표는 어떻게 구하죠? [1] 2012.12.04 by sejin7940
박용순 긴급 질문드립니다. 특정게시판 불가 [1] 2012.12.04 by sejin7940
nei4u4u 글 등록 하면 화면이 안넘어 가요 ㅠㅠㅠ [2] 2012.12.04 by nei4u4u
앱스빱 이메일 주소로 계정 찾기  
건찬파 한군데 서버에 xe를 버전이 다르게 두개를 올릴 수 있나요? [1] 2012.12.04 by 송동우
백용권 이미지 좌표는 어떻게 구하죠?  
소아크 타 솔루션과 연동문의  
hitori zbxe 사용자입니다  
주앙니 학교와 같은 공공기관에서 접속할 때 카운터...  
zartin 글 등록 전 공지를 읽게....  
slrclub666 비비카-지노  
제임스라 layout.html 에서 특정 게시판 게시글 갯수 뽑아오기.. [1] 2012.12.04 by 제임스라
어렵다용 매실님 출석부에서 일일 출석현황  
어렵다용 왜 답변글 기능이 있는 게시판은 없나요??? [1] 2012.12.03 by sejin7940