Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mysql2::Error: Table doesn't exist: SHOW FULL FIELDS FROM `sessions`

I just cloned an application from my developer and I want to set it up on my computer. I get this error when I go to localhost:3000, and I don't really understand what it means.

Error:

ActiveRecord::StatementInvalid - Mysql2::Error: Table 
'goacquire_development.sessions' doesn't exist: SHOW FULL FIELDS FROM `sessions`:

I think it could be my installation process, I'll appreciate if someone could explain this error to me.

like image 209
ttinggggg Avatar asked Mar 20 '15 02:03

ttinggggg


1 Answers

A few ideas:

  1. Make sure MySQL is running on your local machine.
  2. Make sure you have run rake db:create and rake db:migrate.
  3. Make sure you have a database.yml file configured with MySQL settings.

Hope this helps.

like image 89
Drenmi Avatar answered Nov 15 '22 05:11

Drenmi