When I try to call rake assets:precompile
in production, I get a "Too many connections" error.
当我尝试调用rake资产:在生产中预编译时,我收到“Too many connections”错误。
I'm using Rails 3.2.3 and my database.yml is set to pool: 5
我正在使用Rails 3.2.3,我的database.yml设置为pool:5
Any idea on how to fix this ?
有关如何解决此问题的任何想法?
Thanks
谢谢
1 个解决方案
#1
1
Refer this link : http://rackerhacker.com/2008/06/24/mysql-error-1040-too-many-connections/
请参考此链接:http://rackerhacker.com/2008/06/24/mysql-error-1040-too-many-connections/
#1
1
Refer this link : http://rackerhacker.com/2008/06/24/mysql-error-1040-too-many-connections/
请参考此链接:http://rackerhacker.com/2008/06/24/mysql-error-1040-too-many-connections/