묻고답하기

 서버이전후 간혈적으로 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 남기남
커피메이트 mid 에 따라 실행되는 act가 다르게 하려면? [1] 2012.11.20 by KANTSOFT
아담하와 홈페이지 차단.. 이거 어떻게 해제할수 있을까요? [1] file 2012.11.20 by KANTSOFT
cranky02 송동우님 ㅠ jquery가 2번 로드 되는데 해결 방법이 있을까요? [1] 2012.11.20 by showjean
착한부산남자 메인에 두개의 레이아웃을 띄워놓고 회원들이 원하는대로 접속하게 가능한가요?  
진석환 회원가입폼에서 중복체크에 관해  
마이꿈이 글 읽은 회원 출력하는 방법  
kjkyu0401 xe 공홈 메인에 최근글 불러오는 위젯어디서 구하나요? [6] 2012.11.19 by 윈컴이
슬빰 창에 Err : './widgets/content/skins/updatenews/content' template file does not exists.이렇게 뜹니다... [1] 2012.11.19 by KANTSOFT
이지그루브 가입 폼 관리 로그인계정 설정 문의드립니다. file  
묵탱 처음 설치후 사이트맵에서 메뉴 추가문제...  
한번할라냐 쪽지 폰트크기 어떻게 조절하나요?  
꼭하고만다 회원가입 extra_vars 질문입니다. [2] 2012.11.19 by 푸시아
달빛영혼 언제나 졸졸 왼쪽좌표 설정이요..ㅠ ㅠ  
아루히 도와주세요 Fatal error: Call to a member function getAction() on a non-object in [1] 2012.11.19 by 푸시아
SMP 첨부파일이 맛이 갔습니다. (오류코드 포함) [2] file 2012.11.19 by 푸시아
LI-NA 애드온의 중복실행 문제 [2] 2012.11.19 by 푸시아
커피메이트 한 모듈에 mid 두개 할당 방법 (좌측메뉴 내용이 정상이 아닙니다)  
플라스틱 라디오 XE 게시판 글작성 관련 질문입니다. [1] 2012.11.19 by 푸시아
오락실주인 모바일 첨부 표시 없애기 [1] 2012.11.19 by LI-NA
나이짱 애드온을 관리자만 동작시키는 방법질문요 [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 에서 오른쪽에 있는 로그인화면 없애려면 어떻게 해야하나요?