묻고답하기

 서버이전후 간혈적으로 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 남기남
밴신사 초보질문) 제로보드로 홈페이지 만든것 올리기 ???  
조재민987 댓글창에 비밀 알림 기능 삭제에 관한 질문! [1] 2008.03.30 by 덕그니
펭군 파일 첨부 버튼 문제 [4] 2008.03.30 by 111
야퍄재아피나ㅓㄹ 왜댓글이안달아지죠? file  
정진환 윈도우 2003 서버에서 설치 시, 설치 확인 후 다시 첫 화면으로. [2] 2008.03.30 by 정진환
김재순 캐싱과 로그인창의 가로 사이즈 조정  
대웅 두가지 게시판 경로의 추이가 뭔가요? [2] 2008.03.30 by 백성찬
ksh 질문)추가한 layout 이 흰공백으로되어 안보입니다. [3] 2008.03.30 by 대웅
장대 대표 도메인과 새롭게 신청한 기본 도메인을 어떻게 해야 할지요. ㅜㅜ [3] 2008.03.30 by 장대
smico 일반 html(htm) 과 php 웹페이지에 제로보드XE 위젯을 넣을수 있습니까? [2] 2008.03.30 by 나무
대웅 회원가입페이지 상단 여백문제  
체임벌린 부탁드림니다. ㅠ.ㅠ 도와주세요~  
표도기 엮인글 쓰기는 어떻게 해야 하나요? [2] 2008.03.30 by 표도기
제로보드사용자 메뉴! [1] 2008.03.30 by 프리지그
체임벌린 설정값을먹여야 하는지? [1] 2008.03.30 by 프리지그
에공 xe_offical 레이아웃 관련해 질문 하나 합니다. [1] 2008.03.30 by 프리지그
라벡 ---> 간단한건데 저에겐 더없이 어렵다는... [1] file 2008.03.30 by 프리지그
snowmas 2차 메뉴 수정 방법 [4] file 2008.03.30 by 프리지그
표도기 로그인 하지 않은 상태에서 본문이 이상하게 표시됩니다. file  
박상민805 설치도 못하고 에러가 나서요... [1] 2008.03.30 by 백성찬
체임벌린 질문있습니다. 메뉴버튼을 아이콘으로는? [1] file 2008.03.30 by 백성찬
김호성 XE설치 후 글자깨짐 현상(상위 서브메뉴와 게시판 카테고리(구버전 게시판 이전된 것) [2] file 2008.03.30 by 백성찬
검증좀 최근문서 출력 위젯이 순서가 제대로 안나옵니다. [2] file 2008.03.30 by 사용자
산비둘 이 부분은 어디서 고쳐야할지 정말 모르겠네요. [5] file 2008.03.30 by 백성찬
최현인 갤러리에서 썸네일 클릭시 원본 이미지가 확대되어 나오게 하려면?  
김성원 도와주세요. ㅠ.ㅠ [1] 2008.03.30 by 밍구대디
김재순 업데이트 후 권한에 대해tj.. [4] 2008.03.30 by 김재순
박형근711 게시판 스킨중에 글 내용만 나오는 스킨없나요? [1] 2008.03.31 by 비나무
가너외라 zbXE와 zb4 pl8 중 어느 것이 보안에 대해 뛰어나죠?? [1] 2008.03.31 by 비나무
공대소녀 게시판 목록 출력에 대한 질문 드립니다. [1] 2008.03.31 by 비나무