묻고답하기

 서버이전후 간혈적으로 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 남기남
4rfv5tgb6yhn 회원 가입 회원에게 쪽지를 보내고 싶어요 [4] 2012.12.02 by 4rfv5tgb6yhn
breakerz 게시판 자동 본문 삽입 질문입니다. [1] 2012.12.02 by 송동우
엔아이에이 흰창과 첨부파일  
긍게말여 코어 업데이후 제어판 클릭하면 페이지 오류 나오네요 [1] 2012.12.02 by 송동우
dnflsmsc ㅠㅠ도와주세요ㅠ게시판관리설정ㅜ [1] 2012.12.02 by LI-NA
면봉2 XE설치 FTP정보입력오류 [1] file 2012.12.02 by LI-NA
고딕락 도와주세욘 ㅠㅠ [1] 2012.12.02 by LI-NA
sanjock 로그인 해야만 볼수있는 영역은 어떻게 설정하나요? [1] 2012.12.02 by LI-NA
진달래1 포인트와 자료실  
홍당근 잘못 생성한 모듈 삭제 [2] 2012.12.02 by 로그홈
로그홈 URL로 퍼온 사진을 자동으로 저장하는 기능  
이지매니아 다국어를 사용한 조건문에서 질문이 있습니다. [1] 2012.12.02 by 송동우
얼굴만베컴 레이아웃 스킨에 [1] 2012.12.02 by 윤씨
오!쏠라 저만 설문조사 컴포넌트가 먹통인건가요? file  
면봉2 제꺼좀 제발 답해주시면 안되요??? [1] file 2012.12.01 by sejin7940
면봉2 xe설치오류 FTP 정보입력에서 오류납니다. [1] file 2012.12.01 by 송동우
별을사랑했네 1.5.3.7 업데이트 후 회원가입/ 로그인 시 에러  
별을사랑했네 긴급 낭패가 생겼습니다. [3] 2012.12.01 by 별을사랑했네
iganda7 브라우저 제목 수정 방법 [1] 2012.12.01 by 송동우
상해파 [급]글 등록을 할 때 서버에 요청중이란 메세지만 뜨고 화면이 이동하지 않습니다 [1] 2012.12.01 by 상해파
우니즈 소셜xe ㅜㅜ 회원가입하고 싶은데 로그인도안되고 ..사용하시는분들 [1] 2012.12.01 by 윈컴이
제임스라 컨텐츠 위젯에서 게시글 링크 변경 질문 입니다. [1] 2012.12.01 by sejin7940
우니즈 소셜xe ㅜㅜ 회원가입하고 싶은데 로그인도안되고 ..사용하시는분들  
Asaph 첨부파일 본문삽입시, 파일로 삽입하게 하는 방법좀 [1] 2012.12.01 by sejin7940
홍당근 제목의 글자수를 한정하기 [1] 2012.12.01 by sejin7940
띵똥 문서페이지를 상단에 제가 만든 메뉴판을 뜨게 하는 방법 알려주세요. [1] 2012.12.01 by 송동우
Tbworld 특정 게시판만 스팸필터 미적용 or 10초동안 횟수 조정방법이 궁금합니다. [1] 2012.12.01 by 송동우
고달픈생활 갑자기 메뉴 이동시 페이지 나가기 여부; [1] file 2012.12.01 by 송동우
어렵다용 특정게시판만 회원정보창 안뜨게 하는법 소스 어디에 넣어요 [1] 2012.12.01 by 송동우
iganda7 아이디/비밀번호 찾기 페이지 한글 깨짐 [1] file 2012.12.01 by 송동우