묻고답하기

 서버이전후 간혈적으로 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 남기남
ghostcom 조회수 카운터 위젯?  
ghostcom 방문자 카운터를 조회수 카운터로?  
오락실주인 게시판 xml 생성후 데이터이전  
나잔보자 레이아웃하나로 여러페이지만들기.. [1] 2012.11.23 by pentopen
토이터 xe로 뉴스사이트 운영이 가능한가요? [1] 2012.11.22 by 퍼니엑스이
CEO송선생 루트에 XE 설치 안하신분들은 인덱스페이지에서 어떻게 당겨오시나요? [6] 2020.03.14 by LI-NA
규*~* 웹 속도관련 문의입니다. [1] 2012.11.22 by 푸시아
버디구루 스팸 아이디.. 등록.. 막을 수 있는 방법이 없나요? [2] 2012.11.22 by CEO송선생
무적쥔장 최신 패치후 통합 검색시 에러나네요  
Mye 쇼핑몰처럼 그 게시물에 해당하는 상품후기랑 q&a게시판을 출력하려면  
젠이 특정 category_srl과 특정 document_srl을 목록에서 숨기려면 어떻게 해야 되나요?  
나잔보자 GNB 에 대한 LNB 인식 [1] file 2012.11.22 by 송동우
프롬이 답변 글은 어떻게 입력하나요 ? [1] 2012.11.22 by 송동우
노멀라이저 if(!Context::get('is_logged') 부분 질문 [2] 2012.11.22 by 젠이
redclip 산넘어산... 설치후 로그인이 되지 않습니다.  
redclip 1.5.3 godaddy 에 설치시 문제 [1] 2012.11.22 by redclip
톡톡보니 레이어 팝업 애드온 문제....  
궁뎅씨 확장변수의 주소(zip)입력폼의 기본text 출력문제 [3] file 2012.11.22 by 송동우
jajanggoo 게시판에서 list ,write,view 상태에따른 변수를 알수있을까요? [1] 2012.11.22 by 송동우
해피해킹 게시글 관리에서 대상모듈을 선택한 게시판을 바로 나오게 할수 없을까요  
나잔보자 lnb가...전부 다나와버려요;;; file  
안녕운 잘정리된 제로보드xe api 사이트 있나요? [2] 2012.11.22 by KANTSOFT
백용권 이거 html로 어찌 표현하는지 한번만 도와주세요  
쌘쓰쟁이 미니온 위젯사용하는데 회원만 미니온위젯보이게 하는방법이 있나요?  
소누스 댓글 작성시 새로고침이 안되게 하려면 어떡해야 할까요?  
mrbj 관리자 아이디 및 암호 변경 [1] 2012.11.22 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 송동우