묻고답하기

 서버이전후 간혈적으로 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 남기남
고딕락 텍스타일을 홈페이지의 메인으로 하려고 합니다.  
KTK 리눅스 bonding에 대해서  
어렵다용 제로보드4에서 익명게시판데이터를 옮겨왔는데요. 글쓴이가 다보여요. [1] 2012.11.28 by 송동우
braswell 컨텐츠 위젯스킨에서 제목앞의 조그만 점이 안나오네요. file  
플풀 페이지를 찾을 수 없다고 나옵니다  
쌤오신다 도저히 찾을 수 없네요 [2] 2012.11.28 by 쌤오신다
아이포토 모바일메뉴에 뉴아이콘표시 [2] 2012.11.28 by 아이포토
mymedia RSS 통합피드 사용으로 했는데 클릭하면 페이지 찾을 수 없다고  
gr8 회원 정보 비공개& 최고 관리자 외 정보열람 금지 [3] 2012.11.27 by 송동우
koreafeel 제이쿼리 질문드려요  
디쎔버 외부페이지가 안 열려요  
제임스라 서브메뉴 카테고리 css 질문...  
서버링 동영상 파일첨부시 자동 본문삽입  
알피레이드 서버를 250 주고 임대하고 있는데 xe 쓰지말라네요.  
iganda7 글 작성시 내용란에 마우스 대면 말풍선 나오게 하는 방법 [1] file 2012.11.27 by 송동우
백용권 최근게시물에서 url로 바로 가도록 링크가능한가요? [2] 2012.11.27 by 송동우
성철 익스플로러8 업그레이드후 문제 [1] 2012.11.27 by 송동우
릭키님 contact us 메일 내용에 관한 질문요.. [1] 2012.11.27 by 송동우
릭키님 관리자한테 메일 발송 안되는 문제  
beatnot 데이터이전을 하려고 하는데, forbidden 에러가....  
jajanggoo foreach에서는 증가값을 알수없나요?? [1] 2012.11.27 by 송동우
maximkanu xml query에서 date_format 함수 쓰기 [1] 2012.11.27 by 울라탱
커피메이트 xml query 의 어디가 잘못된 걸까요 [2] 2012.11.27 by 울라탱
영무니 CentOS 로 XE 돌리려면 뭐를 봐야 하나요? [1] 2012.11.27 by AppSeedKorea
beatnot 어떤 걸 클릭해도 첫 화면으로 넘어가네요. [3] 2012.11.27 by 송동우
꿈틀잉 외부페이지에 게시판넣을수 있나요? [1] 2012.11.27 by 송동우
오락실주인 게시글 조회수 초기화 [1] 2012.11.27 by 송동우
glider1975 초보입니다 도와주세요.  
디쎔버 UTF-8로 저장했는데도 한글이 깨져요. [1] 2012.11.27 by 송동우
imsilc 메인 페이지 위젯 넣을려면 어떻게 해야 하난요? [5] 2012.11.27 by 미스촌닭