Created
December 20, 2018 20:18
-
-
Save isfaaghyth/8ba40c61e464b0ae10d545be95cd0fdd to your computer and use it in GitHub Desktop.
InnoDB: Unable to lock ./ibdata1, error: 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cd /var/lib/mysql | |
# mkdir bak | |
# mv ibdata1 bak/. | |
# mv ib_logfile* bak/. | |
# cp -a bak/ibdata1 ibdata1 | |
# cp -a bak/ib_logfile* . | |
# service mysql restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment