2017-01-16 3 views
0

MAMP4를 다운로드하여 Mac OSX Sierra와 MAMP1.9.4 (이전 버전)에 설치했습니다. Apache 서버가 시작되지만 MySQL은 시작되지 않습니다. 이전 db가 mysql56 폴더로 복사되고 MySQL 시작시 db가 db로 변환되어야한다고 경고했습니다. 하지만 MySQL은 시작하지 않습니다! Activity Monitor는 다른 어떤 mysql 프로세스도 진행하지 않는다는 것을 보여준다. MAMP 에러 로그 :MAMP4가 MySQL을 시작하지 않았습니다.

2017-01-16 12:35:13 47394 [ERROR] InnoDB: auto-extending data file ./ibdata1 is of a different size 640 pages (rounded down to MB) than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages! 
2017-01-16 12:35:13 47394 [ERROR] InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data! 
2017-01-16 12:35:13 47394 [ERROR] Plugin 'InnoDB' init function returned error. 
2017-01-16 12:35:13 47394 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 
2017-01-16 12:35:13 47394 [ERROR] Unknown/unsupported storage engine: InnoDB 
2017-01-16 12:35:13 47394 [ERROR] Aborting 

난 후, I는 MAMP1.9.4 (80 & 3306)에 사용 된 것과 동일한 포트를 사용하여 시도 기본으로 전환. 웹 서버 주소는 내 웹 사이트를 유지하는 내 디렉토리를 가리 킵니다. Applications/MAMP/htdocs로 다시 변경했습니다. 아무것도 작동하지 않습니다. :(어떤 도움은 매우 극명하게 될 것이다.

아, 스노우 레오파드 (Snow Leopard)를 실행 내 오래된 컴퓨터에, 모든 여전히 MAMP1.9.4 작업.의

답변

0

찾을 수 http://rat32.com/rat32/2016/11/29/how-to-solve-mysql-not-starting-in-mamp-problem/#comment-175889의 솔루션을 제공합니다. 응용 프로그램에서 폴더를 제외한 모든 파일을 삭제/MAMP/db/mysql56 그런 다음 MAMP가 즉시 MySQL 서버에 연결되어 데이터베이스를 업그레이드하라는 메시지가 나타났습니다. 터미널 명령을 통해 그들을 죽일 수도 있습니다. 또 다른 제안은/Library/Application Support/MAMP PRO/db/mysql56에있는 ib_logfile0과 ib_logfile1 파일의 이름을 바꾸는 것이 었습니다. 하지만 MAMP PRO를 시작하지 않았기 때문에 그 폴더는 존재하지 않았습니다. Applications/MAMP/db/mysql56에서 두 파일의 이름을 변경했지만 문제가 해결되지 않았습니다. 실제로 두 파일과 세 번째 파일을 제거한 경우에만 MAMP가 MySQL 서버에 연결할 수있었습니다.

그래서 내 자신의 질문에 답하는 것이 바보 같지만 다른 사람들이 같은 문제에 부딪 힐 경우에 대비하여 여기에 넣기를 원합니다.

Mac OSX Sierra에서 MAMP 4.1 사용.