묻고답하기

 서버이전후 간혈적으로 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 남기남
Jackal 1.4 에서 1.5로 업데이트이후  
CM 3가지를 한번에 여쭙니다...  
4rfv5tgb6yhn 제 서버 도메인 변경 하려 하는데요? [2] file 2012.11.12 by 4rfv5tgb6yhn
노풀디케 갑자기 모듈삭제, 로그인, 게시물등록 전부 안되네요?  
맛있는쿠키 XE 관리자 페이지에서  
리나루카스 특정 게시판의 제목만 검색해서 결과물 추출이 될까요?  
onyxlife 관리자 페이지에 메뉴 추가 하기 [2] 2012.11.11 by onyxlife
토이터 ftp프로그램 하나만 추천부탁드립니다. [2] 2012.11.11 by 비니비닝
누란지세 확장변수 클릭시에, 순차정렬 이 안되는대.. ㅠㅠ 방법이 없을까요.. [1] 2012.11.11 by 송동우
CM 제가 https를 사용하는데.. 업로드 경로쫌...  
신철호242 XE 처음해봅니다. 게시판에 글을 쓰려면? [1] 2012.11.11 by 아직없는닉
꼴로네요 게시글, 댓글이 하얗게 보입니다 [1] 2012.11.11 by 아직없는닉
노풀디케 게시판, 댓글 글쓰기가 안되요.  
긱스2223 글보기오류가 나네요..왜 나는건가요?(사진첨부) [1] file 2012.11.11 by 노풀디케
시릐우스 헉 갑자기 글쓰기,댓글쓰기 작성이 안됩니다. [2] 2012.11.11 by 노풀디케
zartin 글쓰기 하면 등록이 안되네요? [1] file 2012.11.11 by 노풀디케
진석환 xe.1.5.3.3.ko 사용중 카페레이웃을 찾아 보라고 하는데  
청은차 현재 제로보드 4인데, xe로 바꾸고 싶어요. 어떻게 해야하나요? [1] 2012.11.11 by 아직없는닉
Tbworld 회원그룹이 자꾸만 바뀝니다.  
엘비엠7 관리자페이지는 잘 동작하는데 홈페이지가 몇시간째 먹통입니다. [1] 2012.11.11 by xe_마니
비니비닝 1.5.3.3 쓰고 있습니다. 게시판 관리가 이상해요!! [1] file 2012.11.11 by xe_마니
양충모 제로보드XE 업로드 안되는 오류 해결해 주실 분 찾습니다. 사례할게요. [1] file 2012.11.11 by xe_마니
돌칸 이미지 관하여 질문  
리나루카스 엊그제부터 현재까지...초기 설치시 오류 아시는 분~~~ [1] 2020.03.14 by BNU
jn4kim PHP와 MYSQL을 통해 자동으로 덧글이 달리게하고싶은데요  
쏘곰이 xe 관리자 로그인이 안됩니다... [1] 2012.11.11 by 송동우
onyxlife 게시판 상단에 최상위 게시글 5개의 첨부 이미지를 노출 하고 싶어요 ㅜㅜ [1] 2012.11.10 by 송동우
onyxlife 게시판 확장변수 값에 따라 필드 숨기기가 가능한가요? [1] 2012.11.10 by 송동우
헐키헐키 게시판 리스트에서 제목 뒤에 추천수를 나타나게 하는 방법?? file  
onyxlife 확장 변수 숫자만 입력 가능하게 처리 가능한가요?? [4] 2012.11.10 by 송동우