Skip to content

조회 수 9844 추천 수 0 댓글 1
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
// max_connection이 어떻게 잡혀있는지 확인한다.
# mysqladmin -u root -p variables | grep max_connection
password:
| max_connections | 100

vi /etc/my.cnf

(  해당위치에 없다면 locate my.cnf  로 찾을수 있습니다.)

[mysqld]
port            = 3306
socket          = /tmp/mysql.sock
skip-locking
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
myisam_sort_buffer_size = 8M
max_connections=300

max_connect_errors=10000

max_user_connections=50

 

추가를 해줍니다.

 

/etc/rc.d/init.d/mysqld restart

라인은 직접 추가 해주셔야 하며

기본 설정은 max_connections 는 100 , max_connect_errors 는 10 으로 되어있습니다.

 

p.s

mysqladmin processlist 로 오류의 원인을 먼적 확인하시는게 좋습니다.

/usr/local/mysql/bin  폴더에서 ./mysqld_safe -O max_connections=1000 -O wait_timeout=10  그리고 mysqladmin -uroot -p reload


  1. No Image 17Jun
    by ADMINPLAY
    2009/06/17 by ADMINPLAY
    Views 8597 

    [MYSQL] Mysql 테이블 검사하기 & 복구하기

  2. No Image 17Jun
    by ADMINPLAY
    2009/06/17 by ADMINPLAY
    Views 16747 

    mysql innodb 설정확인

  3. No Image 17Jun
    by ADMINPLAY
    2009/06/17 by ADMINPLAY
    Views 8789 

    MySQL Table 복구 - Got error 127 from storage engine

  4. No Image 11Jun
    by ADMINPLAY
    2009/06/11 by ADMINPLAY
    Views 14863 

    MySQL 외부접속

  5. mysql 쿼리문 모음

  6. No Image 22May
    by ADMINPLAY
    2009/05/22 by ADMINPLAY
    Views 9215 

    skip-name-resolve

  7. No Image 17Mar
    by ADMINPLAY
    2009/03/17 by ADMINPLAY
    Views 9201 

    slow Query 조사

  8. No Image 17Mar
    by ADMINPLAY
    2009/03/17 by ADMINPLAY
    Views 9513 

    mysqli 컴파일중 re2c 에러발생!

  9. MySQL max connection 값 변경

  10. No Image 03Mar
    by ADMINPLAY
    2009/03/03 by ADMINPLAY
    Views 10923 

    SSL을 이용한 MySQL 연결

  11. No Image 03Mar
    by ADMINPLAY
    2009/03/03 by ADMINPLAY
    Views 9711 

    mysql5.0 계정 생성시 ssl_cipher 에러

  12. No Image 07Feb
    by ADMINPLAY
    2009/02/07 by ADMINPLAY
    Views 8896 

    mysql 외부접속

  13. No Image 23Dec
    by ADMINPLAY
    2008/12/23 by ADMINPLAY
    Views 9985 

    Mysql 버전확인

  14. No Image 14Dec
    by ADMINPLAY
    2008/12/14 by ADMINPLAY
    Views 8739 

    InnoDB 와 MyISAM

  15. No Image 11Nov
    by ADMINPLAY
    2008/11/11 by ADMINPLAY
    Views 7548 

    mysql 자세한 복구 방법 #2

  16. No Image 11Nov
    by ADMINPLAY
    2008/11/11 by ADMINPLAY
    Views 6896 

    mysql 자세한 복구 방법 #1

  17. No Image 11Nov
    by ADMINPLAY
    2008/11/11 by ADMINPLAY
    Views 7622 

    MySQL 테이블 복구하기 (쉴 프롬프트에서..)

  18. No Image 11Nov
    by ADMINPLAY
    2008/11/11 by ADMINPLAY
    Views 8393 

    Mysql max_connection 늘리기

  19. No Image 11Nov
    by ADMINPLAY
    2008/11/11 by ADMINPLAY
    Views 7314 

    mysql root에 아무권한이 없어 작업이 불가능한 경우

  20. No Image 04Nov
    by ADMINPLAY
    2008/11/04 by ADMINPLAY
    Views 7985 

    Mysql 버전별 케릭터셋 지원여부 (euckr / utf-8)

Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234