묻고답하기

 서버이전후 간혈적으로 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 남기남
나이짱 애드온을 관리자만 동작시키는 방법질문요 [1] file 2012.11.19 by 송동우
한번할라냐 게시판dx를 쓰고있는데 드래그하면 댓글이 안보여요 file  
오락실주인 회원가입창 질문 [1] file 2012.11.19 by LI-NA
오락실주인 모바일접속관련 질문 [1] 2012.11.18 by LI-NA
스토리마스터 몇초뒤 홈페이지이동 [1] 2012.11.18 by LI-NA
koreafeel xe 외부페이지와 php 페이지의 위젯문의 [1] 2012.11.18 by 송동우
함락신모드 회원정보 수정 금지 [1] 2012.11.18 by 송동우
산삼짱 기본 url? [1] 2012.11.18 by 송동우
맛있는우유 xe 위키는 1.5버전용이 없나요..?  
Neda_love 분류를 설정햇는데 분류목록이 않보이네요..ㅠ file  
멀티에고 Board Dx 에서 오른쪽에 있는 로그인화면 없애려면 어떻게 해야하나요?  
Asaph 텍스타일 Textyle Hub '해당 사용자가 없습니다' ,최근 글.. 문제 해결책 알려주세요.  
Asaph 텍스타일 Textyle Hub '해당 사용자가 없습니다' ,최근 글.. 문제 해결책 알려주세요.  
Asaph 텍스타일 Textyle Hub '해당 사용자가 없습니다' ,최근 글.. 문제 해결책 알려주세요.  
초심자처럼 브라우저별로 css 차이?? [3] file 2012.11.18 by 윈컴이
열린8159 XE설치후 과정에서 DB정보입력 후 에러...  
뭉뭉 사이트맵에서 메뉴 추가하면 웰컴 페이지에서 메뉴가 보여야 되는 것 아닌가요? [1] 2012.11.18 by 아직없는닉
MOA철 쉬운설치 이상한 목록들? file  
한번할라냐 게시판dx쓰고있는데 드래그하면 댓글내용이 사라집니다; file  
팡팡곰 iframe,embed 동영상 자동 리사이징 애드온 1.4 설치... [2] 2012.11.17 by 팡팡곰
Asaph 우분투 파일첨부 도와주세요.ㅠㅠ [12] 2012.11.17 by Asaph
averyJeong 로그인이 안되요 [1] 2012.11.17 by 루트엘
함락신모드 파일업로드 질문이요 file  
츄우양 구매한도메인으로 접속해도 기본도메인이 떠요 [1] 2012.11.17 by 루트엘
별을사랑했네 어떤 디렉토리 파일인지 알려주시면 감사하겠습니다. [1] file 2012.11.17 by 윈컴이
산삼짱 익명 댓글 번호 매기기 관련 질문 드립니다  
color77 위아래 TOP으로 옮기게하는 건 애드온인가요 위젯인가요 어디서 다운받을수있는지 좀 알려주심감사할게요 [1] file 2012.11.17 by 푸시아
마도니 설치오류 (tmpDB.config.php )  
genosaid 메뉴바에서 롤오버 서브메뉴를 가능케 하려면 어떻게 해야하나요? [3] 2012.11.17 by genosaid
동글유부 홈페이지 스크롤바요~ [1] 2012.11.17 by XEMANIA