I
I
iosniacs2015-12-10 02:06:46
MySQL
iosniacs, 2015-12-10 02:06:46

How to get rid of an annoying row in MySQL?

Hi,
I have a mysql database which is innoDB and there is one row in the database that causes Mysqld to crash every time I try to access it. Does anyone know of a way I could remove this line? If I do a DELETE...
DELETE FROM table_name WHERE ID =
MySQL doesn't accept this either... any thoughts on how I could get rid of that annoying line?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg Shevelev, 2015-12-10
@mantyr

Copy the data to a new database, at least line by line, even through mysqldump, the whole question is what else works at all.

S
SagePtr, 2015-12-10
@SagePtr

Have you tried operations like REPAIR TABLE?

Y
yura2victorovich, 2015-12-11
@yura2victorovich

Using mysqlcheck command line via SSH, Telnet. Only VPS or certain host servers will have SSH Telnet access, but this is the best way to fix the corruption if you have access. If there is no access, then this www.oemailrecovery.com/ru/mysql_recovery.html can be another solution

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question