Jump to content

Recommended Posts

Posted

Hi, I wanted to import a database (.sql) with phpMyAdmin but i've got this error : InnoDB is in read only mode.

Please help me to fix this issue.

Thanks.

 

 

Posted

You can convert the database to MyISAM as follows. This will also fix the #1874 (InnoDB read only) error:

  • Make a copy of the .sql file you want to import.
  • Search the copy of the .sql file for Engine=InnoDB and replace all instances with Engine=MyISAM
  • Create a new database.
  • Import the edited copy of the .sql into the database using PhpMyAdmin to restore the content.

We don't recommend using InnoDB on Stevie since the data gets lost or the server goes read-only quite regularly due to crashes.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...