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 04:04AM

Hopefully just a final followup:

I removed these files:
cd /var/lib/mysql/mysql
rm -f innodb_index_stats.frm
rm -f innodb_index_stats.ibd
rm -f innodb_table_stats.frm
rm -f innodb_table_stats.ibd
rm -f slave_master_info.frm
rm -f slave_master_info.ibd
rm -f slave_relay_log_info.frm
rm -f slave_relay_log_info.ibd
rm -f slave_worker_info.frm
rm -f slave_worker_info.ibd

then I created them again according to http://dba.stackexchange.com/questions/111616/innodb-error-table-mysql-innodb-table-stats-not-found

I dropped the ecom database, but had to remove the directories manually.

I created the database ecom again and used the datadump to fill all tables.

Sigh, that was a long way to (find and) go!

Options: ReplyQuote


Subject Views Written By Posted
#1036 - Table 'gain' is read only 539 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 277 Ronald Wiplinger 11/03/2016 06:05PM
Re: #1036 - Table 'gain' is read only 219 Ronald Wiplinger 11/03/2016 06:49PM
Re: #1036 - Table 'gain' is read only 234 Peter Brawley 11/03/2016 08:26PM
Re: #1036 - Table 'gain' is read only 311 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 449 Ronald Wiplinger 11/03/2016 10:56PM
Re: #1036 - Table 'gain' is read only 396 Ronald Wiplinger 11/04/2016 11:38PM
Re: #1036 - Table 'gain' is read only 429 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 305 Ronald Wiplinger 11/05/2016 03:05AM
Re: #1036 - Table 'gain' is read only 280 Ronald Wiplinger 11/05/2016 04:04AM
Re: #1036 - Table 'gain' is read only 262 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.