InnoDB的:无法启动MAMP

问题描述:

当我在MAMP数据库移动到我删除驱动器的过程中,它几乎工作我想,但每当我开始甲基苯丙胺MySQL将不会启动,如果我检查锁定错误45错误日志中我碰到过这样的:InnoDB的:无法启动MAMP

110406 23:00:12 mysqld_safe Starting mysqld daemon with databases from /Volumes/WALL-E/db/mysql 
110406 23:00:12 [Warning] One can only use the --user switch if running as root 

110406 23:00:12 [Note] Plugin 'FEDERATED' is disabled. 
110406 23:00:12 InnoDB: The InnoDB memory heap is disabled 
110406 23:00:12 InnoDB: Mutexes and rw_locks use InnoDB's own implementation 
110406 23:00:12 InnoDB: Compressed tables use zlib 1.2.3 
110406 23:00:12 InnoDB: Initializing buffer pool, size = 128.0M 
110406 23:00:12 InnoDB: Completed initialization of buffer pool 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
110406 23:00:13 InnoDB: Retrying to lock the first data file 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 
InnoDB: Unable to lock /Volumes/WALL-E/db/mysql/ibdata1, error: 45 

我也发现了这个问题但也似乎无法找到一种方法,使对甲基苯丙胺的工作,我在做什么错,它是一个权限问题?

PS - 是的,我的车被称为WALL-E :)

+0

没有解决方案,但errno 45是“操作不支持”。 – Charles 2011-04-06 22:22:49

可能与文件系统级的文件锁定的问题。尝试使用--skip-locking启动Mysql。我不知道如何做到这一点与MAMP,因为我从来没有使用它。在首选项中寻找一个地方,您可以为启动提供自定义选项。

或者你可能会打包定制移动媒体的安装,以实现与autofs的锁,但我的autofs福较弱,所以我不能给任何指针那里。

+0

我发现在/应用程序/ MAMP/bin中/有一个startMysql.sh其中该命令是启动MySQL服务器我把--skip-锁标志那里,我甚至尝试了更多的现代-skip-外部锁定,仍然一无所获,我不知道从哪里开始的autofs ... – David 2011-04-07 12:42:48

+0

我会假设也许我现在是拨错abotu文件级锁定并转移到研究的autofs作为最后的手段,如果我是你......好吧,除非您还有其他原因对autofs感兴趣:-)出于好奇,FS在USB盘上运行的是什么? – prodigitalson 2011-04-07 15:44:30

+1

它实际上是一个NAS我在办公室,也许这可能是问题,而不是相同的文件系统作为我的MAC,这可能是完全不可能的:) – David 2011-04-07 15:48:29