2010-08-14 90 views
1

我的Ubuntu Lucid系统上有XAMPP,一切正常。但现在似乎有一些问题,并且mysql不会启动。Mysql启动失败,操作系统错误13

我试图恢复一些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. 
+0

你运行mysql用户有什么作为?那个目录的权限是什么('ls -la/opt/lampp/var/mysql')?你是否已经以root身份移动/编辑文件?你有没有尝试更新PBXT插件来匹配你的mysql版本? – Rup 2010-08-14 09:52:50

+1

投票迁移在serverfault.com – 2010-08-14 10:03:08

+0

我运行系统作为管理员和是的,我一直在移动/编辑作为根(普通用户没有权限)。我没有尝试更新PBXT插件。 – jitendra 2010-08-14 10:21:05

回答

1

这个工作对我来说:
sudo chown nobody.root -R /opt/lampp/var/mysql

相关问题