Solved

mysql - delete a table

Posted on 2014-10-23
2
396 Views
Last Modified: 2014-10-23
I have a table in a database in MySQL.  The table has stopped responding to queries and will no longer return any data.  It has 42000 records and no index.  I have tried to delete the data (I have a copy I can get the data back from), add an index, drop the table all no no avail.  My requests run for about an hour and twenty minutes and then time out.

Can anyone suggest how I can get rid of this table.  I have MySQL Workbench and Toad for MySQL available.
0
Comment
Question by:Nemetona
[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
2 Comments
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 250 total points
ID: 40399256
TRUNCATE TABLE YourTableName
0
 
LVL 7

Assisted Solution

by:Stampel
Stampel earned 250 total points
ID: 40399265
Use mysqlcheck to check database
and finally
DROP Table Table_Name
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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