how to increase the pool size in config/database.yml

We run a rails app with a mysql database. From time to time we are getting an error:

ActiveRecord::ConnectionTimeoutError (could not obtain a database connection within 5.000 seconds) — Therefor we would like to increase the pool size in the config/database.yml. How and where do we have to take action? Thanks in advance, Tilman

You must be logged in to answer this question