This project is archived and is in readonly mode.

#3180 ✓invalid
aitrus

Rails/Rake dropped my database on interrupt

Reported by aitrus | September 9th, 2009 @ 10:48 PM

@@@ LdapAccountRevision Columns (6.1ms) SHOW FIELDS FROM accounts LocalAccountRevision Columns (-0.9ms) SHOW FIELDS FROM accounts SQL (-2.9ms) SHOW TABLES SQL (1.0ms) SELECT version FROM schema_migrations SQL (0.1ms) SET NAMES 'utf8' SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 SQL (0.0ms) Interrupt: : DROP DATABASE IF EXISTS usrsys_development


This is just odd.  I was updating thinking_sphinx to the most current version.  At one point, I typed "rake" and hit enter by mistake.  I interrupted it with Ctrl+C and... my database vanished.

Comments and changes to this ticket

  • aitrus

    aitrus September 9th, 2009 @ 10:48 PM

    • Title changed from “Rails/Rake dropped by database on interrupt” to “Rails/Rake dropped my database on interrupt”
  • aitrus

    aitrus September 9th, 2009 @ 10:49 PM

    Christ. Thank you, formatting!

  • Ryan Bigg

    Ryan Bigg June 16th, 2010 @ 11:39 PM

    • State changed from “new” to “invalid”

    rake by itself will run the tests. If you're pointing your test environment at your development database, this is why it's disappearing. You should use two separate databases for development and test.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages