Skip to content

조회 수 9715 추천 수 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. mysql old_password 문제

    Date2010.06.19 ByADMINPLAY Views18453
    Read More
  2. Mysql max_connection 늘리기

    Date2008.11.11 ByADMINPLAY Views8259
    Read More
  3. MySQL max connection 값 변경

    Date2009.03.09 ByADMINPLAY Views9715
    Read More
  4. mysql innodb 설정확인

    Date2009.06.17 ByADMINPLAY Views16621
    Read More
  5. Mysql InnoDB 관리하기

    Date2009.07.31 ByADMINPLAY Views11463
    Read More
  6. MySQL Error 2006 : MySQL server has gone away 해결하기

    Date2010.03.08 Byl2zeo Views12601
    Read More
  7. MySQL errno 의미 확인

    Date2010.05.29 Byl2zeo Views16594
    Read More
  8. mysql data디렉토리 변경

    Date2008.10.30 ByADMINPLAY Views9269
    Read More
  9. MySQL Commercial License

    Date2009.09.28 ByADMINPLAY Views7991
    Read More
  10. Mysql bin log 로테이션 방법

    Date2009.11.26 ByADMINPLAY Views9560
    Read More
  11. mysql 5.5.x my.cnf 참고

    Date2013.09.24 ByADMINPLAY Views9335
    Read More
  12. Mysql 5.0.67 Cluster 소스설치 구성하기

    Date2009.11.19 ByADMINPLAY Views9897
    Read More
  13. MySQL 4.1 이상에서 한글 사용

    Date2009.09.28 ByADMINPLAY Views7293
    Read More
  14. MYSQL 4.0 --> 5.1 마이그레이션

    Date2012.01.16 ByADMINPLAY Views17159
    Read More
  15. Mysql - Query Cache

    Date2011.04.09 ByADMINPLAY Views18388
    Read More
  16. mysql - copying to tmp table

    Date2012.01.16 ByADMINPLAY Views18094
    Read More
  17. lower_case_table_names=1

    Date2010.04.02 ByADMINPLAY Views18087
    Read More
  18. libmysqlclient.so.15: cannot open shared object file: No such file or directory

    Date2010.07.07 ByADMINPLAY Views22845
    Read More
  19. latin1 로 저장된 db 를 euckr 또는 utf8로 변환하는 방법

    Date2010.05.28 ByADMINPLAY Views16544
    Read More
  20. InnoDB 와 MyISAM

    Date2008.12.14 ByADMINPLAY Views8596
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234