Even if a snake is not poisonous, it should pretend to be venomous." Chanakya (Indian politician, strategist and writer, 350 BC-275 BC)

 

SVTechie Database Corruption PDF Print E-mail
Written by SVTechie   
Wednesday, 05 April 2006

Yesterday, I was performing optimization task on MySQL tables manually and mistake.. oh my mistake, I corrupted the database. One command was enough!! And I even didn't backup my database.

Thanks to DreamHost . They have automatic backup and I was able to restore within 5-10 minutes but 5-10 minutes were enough for me to stressed out.

Lesson Learned...

  • Always create backup before doing anything with MySQL
  • Better yet, do not directly operate on MySQL
  • Have local copy of MySQL and play with that first, create script. Rerun script on local, double check for error... and so on.

I am glad that I decided to stay with DreamHost!!
Last Updated ( Friday, 04 August 2006 )
 
< Prev   Next >
Home Loan | Car Insurance | Bad Credit Mortgages | Home Loan | MPAA
© 2008 SVTechie :: Online Resources For Techies BY Techies
Joomla! is Free Software released under the GNU/GPL License.