【发布时间】:2011-04-23 21:18:24
【问题描述】:
服务器因电源故障而关闭。
Mysql 现在不会启动。
磁盘未满。
系统日志如下
Oct 11 15:03:31 joe mysqld_safe[24757]: started
Oct 11 15:03:31 joe mysqld[24760]: 101011 15:03:31 InnoDB: Operating system error number 13 in a file operation.
Oct 11 15:03:31 joe mysqld[24760]: InnoDB: The error means mysqld does not have the access rights to
Oct 11 15:03:31 joe mysqld[24760]: InnoDB: the directory.
Oct 11 15:03:31 joe mysqld[24760]: InnoDB: File name ./ibdata1
Oct 11 15:03:31 joe mysqld[24760]: InnoDB: File operation call: 'create'.
Oct 11 15:03:31 joe mysqld[24760]: InnoDB: Cannot continue operation.
【问题讨论】:
-
我假设已检查 ibdata1 的权限?我认为在 debian 及其衍生产品的 /var/lib/mysql 中
-
是的,一切都没有改变。权限归mysql所有。该文件必须已损坏。这是我目前唯一能想到的。
标签: mysql file permissions innodb