title: activeRecord::ConnectionNot Established No connection pool with id primary found: mysql2
body: <p>I am learning ruby on rails by a tutorials: Lynda.com - Ruby on Rails 4 Essential Training with kavin skoglund. all was going fine, until, i tried running my application first time. When visiting "<a href="http://localhost:3000" rel="nofollow">http://localhost:3000</a>" I get this error: activeRecord::ConnectionNotEstablished No connection pool with id primary found.</p>
  
  <p>I am using </p>
  
  <p>Rails 5.0.0</p>
  
  <p>ruby 2.3.1</p>
  
  <p>mysql2</p>
  
  <p>Configured in Gemfile and config\database.yml.</p>
  
  <p><strong>if I go for splite3 to solve this problem, then i can not follow this tutorial.
  can anyone help me to solve this issue while i have mysql2 as my database.</strong>
  Adeel Ahmed.
  <a href="http://adeelahmed.net" rel="nofollow">http://adeelahmed.net</a></p>