Mysql启动失败,出现操作系统错误13

时间:2010-08-14 09:47:47

标签: mysql innodb lampp

我的Ubuntu Lucid系统上有XAMPP,一切正常。但现在似乎有一些问题,mysql无法启动。

我曾尝试恢复一些Drupal数据库,因此将原始文件复制到/ opt / lampp / var / mysql文件夹,就像所有其他数据库文件夹一样。而且,我想这可能导致了这个问题。我正在粘贴错误日志的最后几行。有人请帮帮我。

100814 15:08:29 mysqld_safe mysqld from pid file /opt/lampp/var/mysql/jitendra-laptop.pid ended
100814 15:17:47 mysqld_safe Starting mysqld daemon with databases from /opt/lampp/var/mysql
100814 15:17:47 [Note] Plugin 'FEDERATED' is disabled.
100814 15:17:47 [ERROR] Can't open shared library 'libpbxt.so' (errno: 0 API version for STORAGE ENGINE plugin is too different)
100814 15:17:47 [Warning] Couldn't load plugin named 'PBXT' with soname 'libpbxt.so'.
100814 15:17:48  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 /opt/lampp/var/mysql/ibdata1
InnoDB: File operation call: 'open'.
InnoDB: Cannot continue operation.

1 个答案:

答案 0 :(得分:1)

这对我有用:
sudo chown nobody.root -R /opt/lampp/var/mysql