묻고답하기

 서버이전후 간혈적으로 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 남기남
winni80 스킨 제작도중, table 태그 관련... file  
정두연374 svn 사용시 에러..  
강심구 줄:26 오류: install이(가) 정의되지 않았습니다. [2] 2008.04.03 by 강심구
홍현찬 설치중 이런 메세지로 인해 설치가 안됩니다.... [1] 2008.04.03 by young75
pyw31337 제로보드 DB 백업에 관해.. [6] 2008.04.03 by 호남삼육
박봉수610 메인레이아웃에 게시판자리 위젯을 따로적용 하는 방법은요? [2] file 2008.04.03 by 박봉수610
Mr.밥통 서브메뉴에요..  
ybseven 최근게시물에대하여. file  
김문수497 레이아웃 배경 지정후 모듈에는 적용 안되게 하는 방법.. [2] file 2008.04.03 by 김문수497
제로입문 설치 환경 질문이요... [2] 2008.04.03 by Mr.밥통
먀♡ 게시판 전체 컬러변경? [1] 2008.04.03 by 백성찬
물소리 위젯 프로그램 [2] 2008.04.03 by 물소리
소정 다른 서버로 마이그레이션할 때  
☆水± 이거 왜 이렇고, 해결 하는 방법은 먼가요? [3] file 2008.04.03 by young75
유지은 다중 카테고리 관련 질문 좀 드릴께요 [2] 2008.04.03 by 유지은
카르페시온 개별 레이아웃 생성 하지 않고 메뉴에 따른 위젯 나타나는 조건문점 알려주세요  
감나무2 게시판이 안열려요 [4] file 2008.04.03 by 백성찬
이재성 잘림현상 왜? [1] 2008.04.03 by 백성찬
냠냠이양 안녕하세요. zb4에서 XE로 마이그레이션 하던 도중.. [2] 2008.04.03 by 냠냠이양
박상범473 [로그인 유지] 없에는 방법줌 알려주세요~ [1] 2008.04.03 by 백성찬
초보자중의초보자 외부페이지 사용에 대해 문의합니다. [1] 2008.04.03 by 백성찬
hacierpark ?mid=가붙을때와 않붙을때 로그인풀림,,, [4] 2008.04.03 by 백성찬
권백송 급한 질문사항입니다... [3] 2008.04.03 by 백성찬
핸디지 회원가입시 금지 닉네임 설정하려면 어떻게 해야 할까요?  
김만하 스킨적용후에도 백지상태로 나와요 [3] 2008.04.03 by 백성찬
권백송 layout 다시 질문이요...혹시나 하는 마음에.. [3] 2008.04.03 by 백성찬
HappyNSC 제로보드XE 1.0.1을 설치하는데 문제발생요 ㅠㅠ [3] 2008.04.03 by 백성찬
tapama 에디터 관련 질문드립니다...(스크린샷 첨부) [2] file 2008.04.03 by asd
zzoong2 로그인 스킨만을.............. [2] 2008.04.03 by zzoong2
권영덕651 음악자료실 및 첨부파일 읽기 [2] 2008.04.03 by 권영덕651