묻고답하기

 서버이전후 간혈적으로 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 남기남
jonny153 회원가입 버튼 클릭시 오류입니다. [1] 2012.11.30 by 마음의빈자리
이영훈752 왕초보에요... 설치자체가 안되네요;;  
지리산DH 어드민계정진입 불가  
달에소년 도와주세요 게시판에 anonymous가 뜹니다. [1] 2012.11.30 by 닉이
진석환 서버이전시 DB수정 및 파일에서의 수정  
오오미요 이 로그인부분 수정하실수 있는 고수분 계시나요? [2] file 2012.11.30 by 이지매니아
OZKOAPP 외부페이지 설정에서 외부문서위치에서 매개변수에 관하여 [1] 2012.11.30 by 이지매니아
미샤1235 관리자아이디로 들어갔는데도 방명록에 댓글달기 권한이 없다고 나와요. [1] 2012.11.30 by IZUZero
RUNFS 위젯에서 제목대신 분류를 표시할 수 있을까요? [1] 2012.11.30 by sejin7940
braswell 컨텐츠위젯 글머리 나오게 하려면 어떻게 하나요? [3] 2012.11.30 by sejin7940
미스터강 게시판 제목 입력 안해도 글쓰기 되게 하려면 어떻게 하나요? [2] 2012.11.30 by sejin7940
멩이123 확장변수 사용하여 등록일 저장하기 [1] 2012.11.29 by 송동우
park714 신디케이션서비스 이용할때 내부 아이피 정보도 긁어가나요.  
아수라13 여전히 NetCabin_X3 질문 하나만요. 서브메뉴란에 링크 아이콘을 넣고 싶은데 안되네요.  
샤이링547 메일인증관련 몇주째 해보다 질문드립니다. [1] 2012.11.29
긍게말여 코어 수동업그레이드 질문이요. [2] 2012.11.29 by Gekkou
김 만수 DB문제인가요? 갑자기 게시판등 페이지 표시가 이상해졌어요. 도와주세요! file  
본체 회원전체에게 쪽지 보내기 어떻게 하면 되나요? [1] 2012.11.29 by 송동우
묵탱 이미지 보기 있잖아요? [1] 2012.11.29 by 송동우
-웹지기- 통합검색의 보안성(개인정보 노출) 문제 도움 바랍니다 [1] 2012.11.29 by 송동우
박경서726 회원설정 - 연동하기 질문(의사면허번호 조회)  
RUNFS 확장변수 날짜(일자) 정렬 오류  
술익는마을 텍스타일 백업한 데이터를 불러오기  
어렵다용 ssh로 xe코어 압축해제 명령어 부탁해요. 1.5.3.6.버전요 [2] 2012.11.29 by 묵탱
onair 설치시 퍼미션에러 [1] 2012.11.29 by onair
아수라13 NetCabin_X3 를 사용하고 있습니다. 위젯박스 위에 기본타이틀(?)을 어찌 변경할까요 [1] 2012.11.29 by 송동우
어렵다용 레이아웃 에러 [1] 2012.11.29 by 착한악마
폼메일 제로보드xe에서 폼메일 기능을 넣으려고 합니다. [1] 2012.11.29 by 착한악마
미디안 1.5.3.6 업데이트후 증상.. [1] 2012.11.29 by 미디안
타우렌힐농장 게시판관리에서 분류관리문제입니다. [1] file 2012.11.29