묻고답하기

 서버이전후 간혈적으로 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 남기남
onyxlife 포인트 차감을 디비에서 직접 하고 싶습니다 [2] 2012.11.13 by onyxlife
비비크림 게시판을 클릭하고 스크롤을 내리면 목록이 사라집니다. [1] 2012.11.13 by 송동우
우후롸리루이 아무것도 모르는 초보가 디렉토리 리스팅 방지 방법을 여쭙고자 합니다. [1] 2012.11.13 by LI-NA
yullaha 레이아웃의 헤더 부분 질문드려요(초보적인 질문이예요ㅠㅠ) [1] file 2012.11.13 by LI-NA
onyxlife 회원가입 폼 확장 변수 추가 후 한글깨짐 [1] 2012.11.13 by LI-NA
나잔보자 XE타쿠님들께 한수배우고싶습니다. [1] 2012.11.13 by LI-NA
color77 데이터 이전툴에서 xe 게시판 이전받을수있긴한데요 이걸 날짜 2012년이후만 게시판이전받을수있슬까요? [2] 2012.11.13 by 젠이
젠이 if문에서 "특정 그룹 멤버가 작성한 글"을 지칭하는 방법이 있나요? [2] 2012.11.13 by 송동우
용초딩 파일첨부 버튼 클릭시 반응이 없다는데  
꿀꺽2 이런 쪽지기능이 가능할까요? [5] 2012.11.13 by 아직없는닉
리게 cafexe 로고 해결좀 해주세요 ㅜㅜ  
인생게임 에디터의 기본설정 file  
Asaph 갑자기 게시글 조회수가 안올라가네요...  
카이닉스 모듈 삭제시 이렇게만 하면 되는건가요? [3] file 2012.11.13 by 윈컴이
핫남 도와주세요..질문입니다.. [1] file 2012.11.13 by LI-NA
뽀글이75 모바일에서 url 인식 [1] file 2012.11.13 by LI-NA
김기정746 이와 같은 기능이 가능한 모튤이 있을지 문의 드립니다. [1] 2012.11.13 by LI-NA
한번할라냐 iframe태그를 적용하면 동영상 적용이 안됩니다 [2] 2012.11.13 by 송동우
KTK 간혈적 DB 404에러에 대해서...  
일쌤 xe 메뉴 이미지 버튼 표시 하기 file  
오락실주인 신디케이션 버리면 ?  
이현준911 해외 IP 접속시, 쉬운설치 문제  
좋은나무 xe 1.4버전에서 "모바일최적화보기" 적용방법  
손주사랑 송동우님 부탁드림니다  
나잔보자 이미지 롤링 시키기  
샤이링547 이미지닉 을 특정그룹만 권한줄수있나요? [1] 2012.11.14 by 송동우
손주사랑 게시판이름나오는최근게시물 모듈 [2] 2012.11.14 by 송동우
yullaha 저니 2010 레이아웃의 메뉴 문의 [1] 2012.11.14 by AppSeedKorea
4rfv5tgb6yhn Html 수정 프로그램이 있나요? [3] 2012.11.14 by 4rfv5tgb6yhn
돌칸 네이버 지도 사용방법에 대하여 알려주세요