title: ActiveRecord::ConnectionTimeoutError
body: <p>I am getting this error:</p>
  
  <pre><code>'could not obtain a database connection within 5 seconds (waited 5.001017 seconds). The max pool size is currently 16; consider increasing it.'
  </code></pre>
  
  <p>First I got this error, I bumped up the count from 5 to 16. But it's still happening and i am the only one test out the database. Why is this happening when I am the only user?</p>
  
  <p>I am not on rails btw. I am using:</p>
  
  <pre><code>ActiveRecord::Base.establish_connection ({
      :adapter =&gt; 'mysql2',
      :database =&gt; 'ck',
      :host =&gt; 'localhost',
      :username =&gt; 'root',
      :password =&gt; '',
      :pool =&gt; 16,
      })
  </code></pre>
  
  <p>and using Sinatra.</p>
  
  <p>Thanks</p>