Solved

Rollback a dropped database

Posted on 2002-04-05
1
470 Views
Last Modified: 2008-03-06
i want to rollback a dropped db in mysql
is there any command??
0
Comment
Question by:soamai_dmeetoo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 5

Accepted Solution

by:
kelfink earned 30 total points
ID: 6922025
Oops! Given that mysql's default behavior (with ISAM and myISAM tables) doesn't even support rollback for insert/update/delete, no.  

And, in general, the DROP ... commands in SQL (data definition statements) aren't transactional, and cannot be rolled back.

To see if your data is truly gone, locate your data directory... on NT it's generally located in the mysql\data directory.  Unix, probably similar... /home/mysql/data...

Look for a subdirectory with the name of your database.  If it's not there, time to pull some backup tapes. Fingers crossed!
0

Featured Post

Upcoming Webinar: Securing your MySQL/MariaDB data

Join Percona’s Chief Evangelist, Colin Charles as he presents Securing your MySQL®/MariaDB® data on Tuesday, July 11, 2017 at 7:00 am PDT / 10:00 am EDT (UTC-7).

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

All XML, All the Time; More Fun MySQL Tidbits – Dynamically Generate XML via Stored Procedure in MySQL Extensible Markup Language (XML) and database systems, a marriage we are seeing more and more of.  So the topics of parsing and manipulating XM…
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question