Table 'puppet.schema_migrations' doesn't exist

156 views
Skip to first unread message

Stella

unread,
Oct 18, 2014, 11:15:18 AM10/18/14
to puppet...@googlegroups.com
Hi guys,

I am using Puppet 3.6.2 Dashboard with MySqL.
Today during debug, I  accidentally removed my dashboard board tables(?) from MySQL.

Then I tried to prepare the tables schema for Dashboard database, got this error:

# rake RAILS_ENV=production db:migrate       
rake aborted!
ActiveRecord::StatementInvalid: Mysql::Error: Table 'puppet.schema_migrations' doesn't exist: SELECT version FROM schema_migrations

How to recreate this table schema_migrations? Or just recreate dashboard database in MySQL? I do not care any existing data and just want to get dashboard to work>

Thanks a lot!

Stacey

Stella

unread,
Oct 18, 2014, 11:43:54 AM10/18/14
to puppet...@googlegroups.com
I recreated puppet database in mysql and now it works fine. Thanks
Reply all
Reply to author
Forward
0 new messages