Gần đây tôi đã phải cài đặt lại Lion từ đầu trên MacBook của mình. Tôi đã lưu thư mục XAMPP của mình và chuyển nó vào thư mục ứng dụng trong bản cài đặt mới của tôi. Tôi có thể khởi động Apache, nhưng không phải MySQL. Tôi gặp lỗi này: "The operation couldn’t be completed. (XAMPPErrorDomain error 1.)
".Đã chuyển thư mục XAMPP sang máy tính mới, hiện đang nhận được "(XAMPPErrorDomain error 1.)" khi cố gắng khởi động MySQL
Tôi đã thử đặt quyền trên var/mysql thành 775 và 777, không hoạt động.
Tôi cố gắng chạy "sudo /Applications/XAMPP/xamppfiles/bin/mysql.server start
" trong thiết bị đầu cuối và tôi có được điều này: "
Starting MySQL
. ERROR! Manager of pid-file quit without updating file.
" Khi tôi kiểm tra các lỗi tập tin nó tạo ra, tôi thấy điều này:
"
110820 14:41:20 mysqld_safe Starting mysqld daemon with databases from /Applications/XAMPP/xamppfiles/var/mysql
110820 14:41:20 [Warning] The syntax '--skip-locking' is deprecated and will be removed in a future release. Please use --skip-external-locking instead.
110820 14:41:20 [Warning] option 'thread_stack': unsigned value 65536 adjusted to 131072
110820 14:41:20 [Warning] Setting lower_case_table_names=2 because file system for /Applications/XAMPP/xamppfiles/var/mysql/ is case insensitive
110820 14:41:20 [Note] Plugin 'FEDERATED' is disabled.
110820 14:41:20 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
110820 14:41:20 mysqld_safe mysqld from pid file /Applications/XAMPP/xamppfiles/var/mysql/hex-sha6-ev11435.concordia.ca.pid ended
"
Mọi ý tưởng? Điều duy nhất thay đổi từ hệ điều hành cũ của tôi cài đặt sang cái mới của tôi là tên của máy tính đã thay đổi từ Macbook của Scott thành máy Mac của Scott B ook. Nó làm việc tốt trên 10,7 trước khi tôi đã phải xóa ổ đĩa và cài đặt lại tất cả mọi thứ.
Có cùng vấn đề. –