[mysql] やる夫がmax_connectionsの設定をするようです。
max_connectionsについて
DBを守るための設定と思っています。簡単に言うと同時接続は50名までしか認めませんよっとかいう設定ができます@PostgreSQLと同じ説明
max_connections設定方法
# vi /etc/my.cnf
-----
# The maximum amount of concurrent sessions the MySQL server will
# allow. One of these connections will be reserved for a user with
# SUPER privileges to allow the administrator to login even if the
# connection limit has been reached.
max_connections = 512
-----
mysqldの再起動をお願い致します。
----------------------------------------
現場で使える MySQL (DB Magazine SELECTION)![]() |
| 松信 嘉範 翔泳社翔泳社翔泳社 定価 : ¥ 2,730 2006-03-17 amazonで詳しく見る |
| 固定リンク
「MySQL」カテゴリの記事
- InnoDB: Error: trying to declare trx to enter InnoDB, but InnoDB: it already is declared.(2009.03.05)
- [mysql] my.cnf設定変更(2008.08.04)
- [mysql] やる夫がカラム一覧を表示させるようです。(2008.01.28)
- [mysql] やる夫がDBコネクションをkillするようです。(2008.04.14)
- [mysql] やる夫のMySQL設定ミス(2008.06.20)


コメント