InnoDB: Operating system error number 13 in a file operation. ( Debian )
ошибка при запуска мускула :
101015 17:33:44 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 ./ib_logfile1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.
фикс :
1. chown mysql.mysql /var/lib/mysql/ib_logfile1
Если не помогло, то
2. mv /var/lib/mysq/ib_logfile1 /var/lib/mysql/ib_logfile1.old
touch /var/lib/mysql/ib_logfile1
chown mysql.mysql /var/lib/mysql/ib_logfile1
PS Если отвалятся InnoDB таблицы ( о чем будет написано в еррор логе ), то идем сюда — http://tresnet.ru/archives/458
Tags: Debian, mysql
[…] Блог Ваганова Николая Системное администрирование « InnoDB: Operating system error number 13 in a file operation. ( Debian ) […]
для ubuntu http://unixway.info/mysql/innodb-the-error-means-mysqld-does-not-have-the-access-rights-to-the-directory/