アマゾン AWS EC2: mysql max_connections

mysql settings for small website:

linux

# mkswap /swapfile

mysql


# mysql -u root -p

mysql> show variables like ‘max_connections’;

mysql> set global max_connections = 11;

Referenced Links:

http://surfhacker.jp/2014/01/wordpress-database-connection-error/

http://promamo.com/?p=1873

 

[追記]

ブログ内関連記事:アマゾンAWS EC2:マイクロインスタンス上でWordPressがすぐ落ちる問題に関するリンク集

One Reply to “アマゾン AWS EC2: mysql max_connections”

Leave a Reply

Your email address will not be published. Required fields are marked *