묻고답하기

 서버이전후 간혈적으로 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] 2012.11.17 by XEMANIA
zartin 특정 게시판에 한번만 글 쓰게 하는 방법은 없나요? [1] 2012.11.17 by 송동우
열린8159 ModuleHandler.class.php 에러 메세지  
토이터 노트패드++에서 xe 작업할때 인코딩 뭘로 해야되나요? [1] 2012.11.17 by 송동우
clov 시작페이지 문제 [1] 2012.11.17 by xe_마니
동해수문장 IE랑 XE는 원래 궁합이 안맞나요? [1] 2012.11.16 by 송동우
동해수문장 위젯페이지 정렬문제입니다. [1] 2012.11.16 by XEMANIA
샤이링547 이미지닉 특정그룹에게 사용못하게하기.. [3] 2012.11.16 by 송동우
아수라13 상자님의 도움으로 비밀글 자동체크까지 했습니다. 근데 자물쇠 아이콘은 어찌 보이게할까요?  
동해수문장 Sol님의 플래시 태그 크기 변경이 가능한가요?  
아수라13 다시 여쭙습니다. 비밀글 자동체크 애드온??? 애드온 다봤는데 보이질 않네요. [1] 2012.11.16 by 상자님
아수라13 게시판에 글을 등록하고 관리자외 등록자외엔 못보도록 잠금기능을 하고 싶습니다 [3] 2012.11.16 by 아수라13
노튼 콘텐츠 위젯에서 레벨아이콘만 표시하게 할려면  
리치김 재 설치 시 ftp 정보 입력 단계에서 넘어가지 않습니다. file  
CEO송선생 예전 한미르 게시판 sql 파일 제로보드4나 XE로 이전하기 [1] 2012.11.16 by CEO송선생
CEO송선생 예전 한미르 게시판 sql 파일 제로보드4나 XE로 이전하기  
현이s 게시판에 쓴 글을 페이스북과 트위터에 전송할수 있나요? [1] 2012.11.16 by 푸시아
식인곰 1.4 버전 게시판ex모듈의 contact us에 대한 문의사항입니다.  
CUPA 관리자 로그인관련질문입니다. 부탁드릴께요 ㅠ. [1] 2012.11.16 by 송동우
hexit 문의드립니다 [1] 2012.11.16 by BluesPia[꾸야]
루트엘 회원정보 수정시 '잘못된 요청입니다.' file  
마용발 모바일 리사이징 문제..ㅠㅠ  
마용발 리사이징 문제떄문에요,.,,ㅠㅠ [1] 2012.11.16 by pentopen
qscesz0102 포인트 차감안내  
ymc331 타 XE 사이트 통채로 퍼오기 [3] 2012.11.15 by 데브위트™
장영조878 물리적으로 서로 다른 서버로 파일업로드를 하려면 어떻게 하면 가능할까요? [1] 2012.11.15 by 데브위트™
미스터강 제로보드 데이터 관리 관련... [1] 2012.11.15 by 데브위트™
맛있는우유 확장변수 제목을 아이콘으로 대체할 수 있나요?? [3] 2012.11.15 by Canto
이지그루브 가입 폼 관리 로그인계정에서 아이디로 선택하는 부분이 안보입니다. file  
꾸링 js파일 읽는 방법 [1] 2012.11.15 by Sulli