簡體   English   中英

MAMP:MySQL無法啟動

[英]MAMP: MySQL doesn't start

我在Mac OS X Lion上運行了MAMP Pro 2.0.5,並且MySQL服務器無法啟動。

嘗試啟動時收到以下錯誤消息:

MySQL wasn't able to start. Please check log for more information.

我已經嘗試殺死mysqld進程,但仍然無法正常工作。

我也嘗試過修改/Applications/MAMP/tmp/mysql/my.cnf文件,但是一切似乎都還可以。

我將不勝感激任何幫助。

謝謝。

請參閱以下日志:

11/12/11 00:04:32,382 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 351: grep: command not found
11/12/11 00:04:32,408 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,408 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,411 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,414 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,426 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,426 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,437 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,437 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,442 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,455 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,455 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,455 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,455 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,458 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,461 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,471 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,475 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,479 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,481 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,483 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,488 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,491 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,493 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,495 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,498 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,501 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,505 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,509 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,513 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,516 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,520 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,522 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,525 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,528 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,530 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,533 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,536 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,539 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,542 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,545 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,547 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,550 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,554 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,557 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,559 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,562 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,568 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,572 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,575 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,579 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,582 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,585 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,588 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,593 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,607 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,607 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,607 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,607 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,613 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,625 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,629 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,631 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,634 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,639 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,641 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,643 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,644 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,646 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,648 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,650 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,652 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,654 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,656 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,659 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,661 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,663 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,666 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:32,668 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:32,670 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:32,672 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:32,000 kernel: nstat_lookup_entry failed: 2
11/12/11 00:04:32,674 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,676 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 531: hostname: command not found
11/12/11 00:04:32,678 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,680 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 103: date: command not found
11/12/11 00:04:32,680 [0x0-0xa70a7].de.appsolute.mamppro:  mysqld_safe Logging to '/Applications/MAMP/db/mysql/.err'.
11/12/11 00:04:32,681 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 582: dirname: command not found
11/12/11 00:04:32,682 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 608: hostname: command not found
11/12/11 00:04:32,684 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,692 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,695 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,697 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,700 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,703 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,705 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,706 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 103: date: command not found
11/12/11 00:04:32,706 [0x0-0xa70a7].de.appsolute.mamppro:  mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql
11/12/11 00:04:32,707 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 742: rm: command not found
11/12/11 00:04:32,709 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:32,710 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: eval: line 144: syntax error near unexpected token `2'
11/12/11 00:04:32,710 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: eval: line 144: `                 >>  2>&1'
11/12/11 00:04:32,711 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 103: date: command not found
11/12/11 00:04:32,712 [0x0-0xa70a7].de.appsolute.mamppro:  mysqld_safe mysqld from pid file /Applications/MAMP/db/mysql/.pid ended
11/12/11 00:04:33,000 kernel: nstat_lookup_entry failed: 2
11/12/11 00:04:42,449 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 351: grep: command not found
11/12/11 00:04:42,456 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,457 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,459 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,462 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,464 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,466 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,468 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,469 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,471 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,473 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,475 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,476 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,478 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,480 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,481 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,483 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,485 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,487 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,490 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,493 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,497 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,500 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,503 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,506 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,509 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,515 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,519 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,523 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,526 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,529 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,531 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,533 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,535 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,537 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,538 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,540 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,542 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,543 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,546 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,548 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,549 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,551 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,553 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,554 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,556 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,558 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,559 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,561 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,566 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,568 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,570 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,572 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,573 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,575 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,577 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,580 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,581 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,583 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,585 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,587 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,589 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,590 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,592 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,594 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,596 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,598 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,599 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,601 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,603 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,605 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,606 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,608 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,610 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,611 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,613 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,615 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,617 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,618 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,620 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 166: sed: command not found
11/12/11 00:04:42,622 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 168: sed: command not found
11/12/11 00:04:42,623 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 170: sed: command not found
11/12/11 00:04:42,625 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 171: sed: command not found
11/12/11 00:04:42,627 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,629 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 531: hostname: command not found
11/12/11 00:04:42,630 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,631 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 103: date: command not found
11/12/11 00:04:42,632 [0x0-0xa70a7].de.appsolute.mamppro:  mysqld_safe Logging to '/Applications/MAMP/db/mysql/.err'.
11/12/11 00:04:42,633 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 582: dirname: command not found
11/12/11 00:04:42,634 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 608: hostname: command not found
11/12/11 00:04:42,636 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,640 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,642 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,645 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,647 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,649 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,651 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,652 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 103: date: command not found
11/12/11 00:04:42,652 [0x0-0xa70a7].de.appsolute.mamppro:  mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql
11/12/11 00:04:42,653 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 742: rm: command not found
11/12/11 00:04:42,655 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 150: sed: command not found
11/12/11 00:04:42,655 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: eval: line 144: syntax error near unexpected token `2'
11/12/11 00:04:42,655 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: eval: line 144: `                 >>  2>&1'
11/12/11 00:04:42,656 [0x0-0xa70a7].de.appsolute.mamppro: /Applications/MAMP/Library/bin/mysqld_safe: line 103: date: command not found
11/12/11 00:04:42,656 [0x0-0xa70a7].de.appsolute.mamppro:  mysqld_safe mysqld from pid file /Applications/MAMP/db/mysql/.pid ended

對於我們這些面向視覺的人,請檢查Activity Monitor的mysqld進程並殺死它...死了,死了。 ;)

這是如何做:

1.在Mac上搜索Finder以進行Activity Monitor。
2.打開它。
3.搜索名為“ mysqld”的進程。
4.單擊該過程,然后單擊該“退出過程”。

mysld_safe是一個shell腳本,使用一些unix命令(例如grepsed等)啟動mysql守護程序,問題是該腳本找不到那些命令,通常在/bin/usr/bin目錄中,請檢查PATH環境變量中是否包含這些目錄(或安裝了表示“找不到命令”的命令的目錄)。

當我的系統由於電池耗盡而關機時,我在MAMP Pro 2.1.1中遇到了相同的問題。 我通過刪除位於/Applications/MAMP/tmp/mysql下的舊pid文件解決了此問題

嘗試以下命令: mv /Applications/MAMP/tmp/mysql/mysql.pid /Applications/MAMP/tmp/mysql/mysql.pid.bak

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM