묻고답하기

 서버이전후 간혈적으로 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 남기남
아이스티 제로보드 xe 데이터 이전 문제. [2] 2008.04.02 by 아이스티
☆水± 이 문제 해결 방법좀.. [6] file 2008.04.02 by ☆水±
쭈띠 zbxe로 올블로그나 블로그코리아처럼... [2] 2008.04.02 by 쭈띠
유석이 확장변수 리스트에 출력하기..  
송진호215 하위메뉴에서 위치 변경은 어떻게 하나요?? [2] file 2008.04.02 by 송진호215
Hammer 블로그 스킨에서의 덧글과 덧글입력폼 삭제에 대해 [2] 2008.04.02 by Hammer
바라미 관리자에게 메일보내기  
에리나 회원가입시 받은 추가정보에 따라 아이콘이 표시되게하는 법  
HamKIm 최근게시물이 설정이 안되요 file  
체임벌린 제로보드XE 1.0.1 설치해야 스킨먹히나요?  
김준영249 제 홈페이지 메인페이지에 제로보드 삽입...(사이트주소추가) [5] 2008.04.02 by 호남삼육
살짝미친남자 급 질물요..^^*  
코드블루 위젯프로그램 설치 후 코드생성 누르면 에러가 떠요.. [1] 2008.04.02 by 코드블루
프로즌군 제발~~도와주세요...  
dukecherry zb4 의 자료를 zb XE 로 올릴수 있나요? [1] 2008.04.02 by 느까끼
이팔청춘 외부로그인과 게시판 연동 [1] 2008.04.02 by 느까끼
고전게이머_이용성 게시판 접속할때 정렬순서를 인기순으로 해놓을 순 없을까요/?  
박상범473 게시글 바로 출력 기능 ?????? [2] 2008.04.02 by 박상범473
박대건 쪽지보내기 화면 색상은 어디서 설정하나요?  
googlexe xe_official 기본 레이아웃의 content 부분을 변경하고 싶습니다. [9] file 2008.04.02 by Dustwo
코코아빠 rewrite mod 해제하기 [2] 2008.04.02 by 코코아빠
Coffee향기 홈피 소스공유부탁...  
왕초보 메인화면에 공지사항 띄우기 [3] 2008.04.02 by 아나
김태준218 확장변수에서 검색 채크의 의미?? file  
네오랑 게시판에 위젯이나 RSS를 출력할 수는 없나요?? [4] 2008.04.02 by 네오랑
조형원 댓글 등록 요소 제거 방법 file  
코드블루 마이그레이션으로 회원정보 옮길때에 관한 질문  
sunboom 다음 ''카페 ON''기능이요... [1] 2008.04.03 by 때이
체임벌린 업그레이드를 위해... 파일삭제...하지만 [1] 2008.04.03 by William
프리렌서 자꾸 오류가 납니다."관리자 페이지 에러와 함께 모듈을 찾을 수가 없습니다" [2] file 2008.04.03 by youin