Solved

mysql - delete a table

Posted on 2014-10-23
2
404 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 50

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

729 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