
Windows 7을 실행하는 컴퓨터에서 MySQL 데이터 폴더를 복사한 외부 하드 드라이브(NTFS로 포맷)가 있습니다. 데이터가 외부 하드 드라이브에 있는 Windows 컴퓨터에서 MySQL을 성공적으로 시작/중지/사용할 수 있었습니다. .
이제 Ubuntu Linux(14.04)를 실행하는 머신에서 동일한 데이터에 액세스해야 합니다. 외장 하드 드라이브의 동일한 데이터 디렉터리에서 읽을 수 있도록 Ubuntu Linux 시스템에서 MySQL을 구성했습니다. 그러나 서버를 시작할 수 없으며 다음과 같은 오류 메시지가 나타납니다.
InnoDB: No valid checkpoint found.
InnoDB: If this error appears when you are creating an InnoDB database,
InnoDB: the problem may be that during an earlier attempt you managed
InnoDB: to create the InnoDB data files, but log file creation failed.
InnoDB: If that is the case, please refer to
InnoDB: http://dev.mysql.com/doc/refman/5.5/en/error-creating-innodb.html
150518 15:18:53 [ERROR] Plugin 'InnoDB' init function returned error.
150518 15:18:53 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150518 15:18:53 [ERROR] Unknown/unsupported storage engine: InnoDB
150518 15:18:53 [ERROR] Aborting
다른 컴퓨터에서 서버를 시작하기 전에 서버를 중지했습니다.
참고: Linux 시스템에서 새로 시작하여 mysql 덤프/가져오기를 수행할 수 있다는 것을 알고 있지만 다양한 프로젝트 관련 이유로 데이터가 Windows 및 Linux 시스템 모두에서 읽을 수 있도록 한 곳에 있는 것이 이상적입니다. .
답변1
답변2
내 대답이 너무 늦었다는 것을 알고 있지만 이것도 우연히 발견했습니다. 해결책은 다음과 같습니다. 소유자를 다음으로 변경하세요.mysql데이터 디렉토리, 해당 파일 및 모든 하위 디렉토리에 대한 사용자 및 그룹, 예:
chown -R mysql:mysql /var/lib/mysql