MySQL Forums :: InnoDB :: #1036 - Table 'gain' is read only


Advanced Search

Re: #1036 - Table 'gain' is read only
Posted by: Ronald Wiplinger ()
Date: November 05, 2016 03:05AM

I removed the 5 tables from /var/lib/mysql/ecom/ directory (idb and frm)
Then I restarted mysql. Worked with innodb_force_recovery = 0.
I could insert into the table gain again.

I try now to fix the removed tables:
I used the dump I had from the 5 tables and wanted to insert these tables again. Did not work.
#1813 - Tablespace for table '`ecom`.`meta`' exists. Please DISCARD the tablespace before IMPORT.


I don't know how to remove the tablespace before IMPORT.

Options: ReplyQuote


Subject Views Written By Posted
#1036 - Table 'gain' is read only 541 Ronald Wiplinger 11/02/2016 07:07PM
Re: #1036 - Table 'gain' is read only 242 Peter Brawley 11/03/2016 10:53AM
Re: #1036 - Table 'gain' is read only 278 Ronald Wiplinger 11/03/2016 06:05PM
Re: #1036 - Table 'gain' is read only 220 Ronald Wiplinger 11/03/2016 06:49PM
Re: #1036 - Table 'gain' is read only 235 Peter Brawley 11/03/2016 08:26PM
Re: #1036 - Table 'gain' is read only 312 Ronald Wiplinger 11/03/2016 08:34PM
Re: #1036 - Table 'gain' is read only 232 Peter Brawley 11/03/2016 10:39PM
Re: #1036 - Table 'gain' is read only 450 Ronald Wiplinger 11/03/2016 10:56PM
Re: #1036 - Table 'gain' is read only 397 Ronald Wiplinger 11/04/2016 11:38PM
Re: #1036 - Table 'gain' is read only 431 Ronald Wiplinger 11/05/2016 12:09AM
Re: #1036 - Table 'gain' is read only 389 Peter Brawley 11/05/2016 12:16AM
Re: #1036 - Table 'gain' is read only 307 Ronald Wiplinger 11/05/2016 03:05AM
Re: #1036 - Table 'gain' is read only 281 Ronald Wiplinger 11/05/2016 04:04AM
Re: #1036 - Table 'gain' is read only 263 Rick James 11/05/2016 04:19PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.