묻고답하기

 서버이전후 간혈적으로 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 남기남
톡톡보니 module_srls에 값을 입력해주세요. [1] file 2012.11.22 by 그러Th요
nean 글쓸때 편지지같은 배경 넣을수 있나요 [2] 2012.11.21 by 송동우
두바이 글 작성시 보안문자 [1] 2012.11.21 by 송동우
두바이 관리자 모드 글 리스트 늘리기 [1] 2012.11.21 by 송동우
kjkyu0401 쪽지알림 애드온..  
나의해 contact 모듈 사용방법 질문드릴게요 [1] 2012.11.21 by 송동우
맛있는쿠키 XE 게시판 모듈에서 [1] 2012.11.21 by 송동우
Neda_love 재질문] 분류를 설정햇는데 분류목록이 않보이네요..ㅠ file  
App-studio 글쓰기 후 저장하면 다음 화면으로 넘어가질 않아요  
낮잠은단잠. 스마트폰으로 볼때 이미지가 짤립니다.  
나의해 XE는 제대로된 메뉴얼 하나 없나? [3] 2012.11.21 by KANTSOFT
divine logged_info등 코어변수 클래스는 어디서 정의되죠? [1] 2012.11.21 by 윈컴이
nean 확장변수.. 라디오버튼 이나 선택.. 내용은 어디에 넣나요^^;; [1] file 2012.11.21 by 송동우
kjkyu0401 썸네일 크롭 위치를 지정할 수 있을까요? [4] file 2012.11.21 by misol
온달왕자 기존 XE에 등록된 게시물을 텍스트큐브로 데이터이전이 가능한가요 ? [1] 2012.11.21 by misol
서기라네~ 키워드 검색 관련질문드립니다 [3] file 2012.11.21 by misol
라리사 게시판 글쓰기 창에서 추가정보를 입력하는 form 추가 [1] 2012.11.21 by 송동우
onyxlife 게시판에 적용 된 확장변수를 검색 하고 싶습니다 [1] 2012.11.21 by 송동우
소누스 추천시 새로고침 되는거 안되게 못하나요? [1] 2012.11.21 by 송동우
앙금골리앗 게시판 html삽입때문에 머리가 아프네요 [2] file 2012.11.21 by 비밀얌
cycix2 게시판 설정에 변수 추가 방법 문의 [1] 2012.11.21 by 송동우
이지매니아 송동우님~회원 가입시 에러가 나요. 제발 도와주세요..ㅠㅠ file  
nojinkyu PDF생성 [1] 2012.11.21 by 푸시아
오락실주인 이상한 회원 있어서 질문 ! file  
백용권 위젯에 넣어야하는 변수를 못넣겟어요 도와주세요  
마이꿈이 글 읽은 사람 출력할 수 있나요 [1] 2012.11.20 by 송동우
오락실주인 회원 그룹 한번에 등업 하는방법 ?  
신라면블랙 압축 풀려고 하는데 SSH 접속이 안되네요ㅠㅠ [1] 2012.11.20 by pentopen
두바이 아이프레임 소스 삽입문제 [1] 2012.11.20 by 송동우
노풀디케 blog api가 이상해졌습니다. [1] 2012.11.20 by 퍼니엑스이