DockerでMySQLのDataフォルダーをコピーしたらエラーで起動しなくなった。
エラーを見ると
[ERROR] InnoDB: Failed to find tablespace for table mysql.plugin in the cache. Attempting to load the tablespace with space id 2
こうなっている。(他にも山盛り)
この時は、
my.cnf に、
innodb_force_recovery = 6
を追加すると、起動することがある。
コメントを投稿するにはログインしてください。