Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7589903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T20:16:37+00:00 2026-05-30T20:16:37+00:00

I have a myism table ‘test’ which holds some out-dated data, now I want

  • 0

I have a myism table ‘test’ which holds some out-dated data, now I want to recreate the table, all columns the same except that I changed the storage from myism to innodb. The dumped sql I used to recreate the table is like:

drop table test;
create table test ( ... )
engine=innodb

insert into test(...) values(...)

that’s where I got the error “Got Error -1 from storage engine”, I have googled around, most of the results focus on corrupted innodb tables. While for my case I don’t think it’s broken, it’s just something I missed at the drop and create statements.

Another thing is that is after a executed the above sql, all that’s left for table test is a file named file.frm, I guess innodb table needs some other stuff to run on but not sure what.

How can I fix this problem? And I probably need to do more tasks of this kind, what’s the correct procedure to drop myism table and recreate them as innodb ones?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T20:16:38+00:00Added an answer on May 30, 2026 at 8:16 pm

    OK. I found the solution.
    The issue was caused by innodb_force_recovery parameter in my.cnf, that was set to 4.

    To solve the problem, set to 0 or completely remove this parameter from my.cnf

    If you check error log, during query, mysql will write in human readable language that: It won’t let you change anything in table until innodb recovery mode is enabled, exactly next message:

    InnoDB: A new raw disk partition was initialized or
    InnoDB: innodb_force_recovery is on: we do not allow
    InnoDB: database modifications by the user. Shut down
    InnoDB: mysqld and edit my.cnf so that newraw is replaced
    InnoDB: with raw, and innodb_force_... is removed.
    

    Please refer to: http://bugs.mysql.com/bug.php?id=30225

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a MyISAM table with more than 10^7 rows. When adding data to
We have a large MyISAM table that is used to archive old data. This
I have a MySQL MyISAM table with about 400 million rows of price data
We have a (currently InnoDB) table which contains roughly 500,000 rows. This represents a
We have a large MyISAM table to which rows get inserted to the bottom
I have a legacy mysql database and there's this table which has a few
I have a MySQL 1.5 GB MyISAM-table (1.0 GB data, 0.5 GB indexes) in
I have a MyISAM table in MySQL which consists of two fields (f1 integer
Say you have a MySQL 5.0 MyISAM table with 100 million rows, with one
Have just started using Visual Studio Professional's built-in unit testing features, which as I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.