0
이것이 중복으로 보일 수 있지만 나는 고민 중입니다.MySQL이 MAMP로 시작하지 않음
MAMP를 사용하여 한 세션에 대해 Apache와 MySQL을 시작하고 실행할 수있었습니다. 다시 시작하면 MySQL이 시작되지 않습니다.
Stack에서 여러 가지 해답을 시도했습니다. 디렉터리 재설치/이동/업데이트가 이루어지는 지 확인 내가하지 않은 한 가지는 'ib_logfile'의 이름을 바꾸는 것입니다. 왜냐하면 거기에 없기 때문입니다!
누구든지 의견이 있으십니까?
2017-09-23 20:44:46 7fffa5a753c0 InnoDB: Operating system error number 2 in a file operation.
InnoDB: The error means the system cannot find the path specified.
InnoDB: If you are installing InnoDB, remember that you must create
InnoDB: directories yourself, InnoDB does not create them.
InnoDB: Error: could not open single-table tablespace file ./mysql/slave_worker_info.ibd
InnoDB: We do not continue the crash recovery, because the table may become
InnoDB: corrupt if we cannot apply the log records in the InnoDB log to it.
InnoDB: To fix the problem and start mysqld:
InnoDB: 1) If there is a permission problem in the file and mysqld cannot
InnoDB: open the file, you should modify the permissions.
InnoDB: 2) If the table is not needed, or you can restore it from a backup,
InnoDB: then you can remove the .ibd file, and InnoDB will do a normal
InnoDB: crash recovery and ignore that table.
InnoDB: 3) If the file system or the disk is broken, and you cannot remove
InnoDB: the .ibd file, you can set innodb_force_recovery > 0 in my.cnf
InnoDB: and force InnoDB to continue crash recovery here.
170923 20:44:46 mysqld_safe mysqld from pid file /Applications/MAMP/tmp/mysql/mysql.pid ended
작업중인 my.cnf 또는 유사한 구성 파일을 보는 것이 도움이됩니다. –