묻고답하기

 서버이전후 간혈적으로 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 남기남
dnflsmsc ㅠㅠ도와주세요ㅠ게시판관리설정ㅜ  
뮤  파일 다운로드 및 쉬운 설치가 안됩니다.  
다크블루 제로보드4 게시물 스팸성 덧글 삭제 방법 문의 [1] 2012.11.30 by 다조아해
샤이링547 기입한 메일주소 변경관련 질문입니다. [2] 2012.11.30 by 송동우
어렵다용 크롬에서 주소에 www.붙일때랑 아닐때랑 레이아웃이 다르게 보여요. [1] 2012.11.30 by 송동우
어렵다용 특정게시판에서만 회원정보보기창 안뜨게 하는 법 [1] 2012.11.30 by 송동우
어렵다용 게시판에 글목록수 설정하는 방법 [2] 2012.11.30 by 송동우
닥터피아 스핑크스 검색 모듈 문의  
띵똥 제가 제대로 설치했는지 모르겠어요 [1] 2012.11.30 by 송동우
어렵다용 익게 회원정보보기 질문 다시요.... [1] 2012.11.30 by 송동우
나잔보자 xe는 아닌데...이미지롤링  
RUNFS 경매 게시물에서 남은 기간도 출력가능할까요? [1] file 2012.11.30 by 푸시아
삼토리 위지윅에디터 글쓰기, 글수정시 에디터상태 비활성화문제.. [1] file 2012.11.30 by 푸시아
똑디 XE 설치에 맞는 PHP버전 Mysql 버전 추천 부탁드립니다. [1] 2012.11.30 by 푸시아
온달왕자 네비게이터 위젯 하위 펼쳐있기고정 및 글수 출력 문의 [1] file 2012.11.30 by KANTSOFT
어렵다용 익게에 회원정보보기창 안보이게 하기 재질문 [1] 2012.11.30 by 송동우
어렵다용 익명게시판 데이터 이전글 회원정보 팝업창 안보이게 하기 [1] 2012.11.30 by 송동우
제임스라 위젯 td 색상을 교차로 하는 방법 질문. [1] 2012.11.30 by 송동우
신비의불 게시물 등록시 php코드 삽입 [1] 2012.11.30 by 송동우
김용춘 첨부화일 목록 크기확장 질문입니다. [1] file 2012.11.30 by 송동우
어렵다용 익명게시판 댓글 작성자 이름 익명으로 나오게 하는 법 알려주세요. [1] 2012.11.30 by 송동우
누란지세 게시판 컴포넌트 에서.. 필요한 변수를 계속 유지하는 방법이 필요해요 ㅠㅠ  
규*~* Apache 문제입니다.  
릭키님 레이아웃 로그인 박스 위치 수정 [1] 2012.11.30 by KANTSOFT
LEe마스터 애드센스 넣을려는데요.. [1] 2012.11.30 by KANTSOFT
nineyard 초보 좀 도와주세요.꼭 좀요. [1] 2012.11.30 by sejin7940
어렵다용 데이터이전했더니 작성자이름과 댓글에 이름이 다 나와요. [1] 2012.11.30 by 송동우
파란날개115 가입 허가 설정을 "아니오" 후, 나타나는 메세지 변경 문의 드립니다. [1] 2012.11.30 by sejin7940
홍당근 도메인 연결 [1] 2012.11.30 by sejin7940
진달래1 모바일웹이 안되요 [1] 2012.11.30 by sejin7940