0

When I dump a db from mysql, is there a way out by which I can remove the lines ENGINE=MyISAM AUTO_INCREMENT=528 ... , LOCK TABLES "controller_actions" WRITE; and UNLOCK TABLES; . Opening the db file and removing these lines would be extremely tedious as the database is such huge.

Any help is appreciated

1 Answer 1

1

I'm not sure why you would want to remove the ENGINE and AUTO_INCREMENT options; as far as I can tell there's no way to remove just these options. If you want to remove the entire CREATE TABLE statement, use the --no-create-info option. To prevent the LOCK TABLE and UNLOCK TABLE commands, use --skip-add-locks.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.