2008-10-02 60 views
0

我想在红帽企业版中安装xampp 1.6.7。我按照安装说明操作之后,我用命令MySQL服务器在XAMPP中消失

sudo /opt/lampp/lampp start 

开始堆栈,我得到TE通常的反应

XAMPP: Starting Apache with SSL (and PHP5)... 
XAMPP: Starting MySQL... 
XAMPP: Starting ProFTPD... 
XAMPP for Linux started. 

但是当我检查堆栈组件的状态MySQL是不运行,我得到:

Version: XAMPP for Linux 1.5.5 
Apache is running. 
MySQL is not running. 
ProFTPD is running. 

这并不总是立即发生。有时MySQL会在崩溃之前运行一段时间。我检查了日志并没有发现任何东西。

编辑:

MySQL日志说

081002 10:41:22 mysqld started 
libgcc_s.so.1 must be installed for pthread_cancel to work 
081002 10:41:24 mysqld ended 

mysql的状态说:

[[email protected] lampp]# bin/mysql status 
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/lampp/var/mysql/mysql.sock' (2) 

和ps -ef | grep的MySQL的产量无关

+0

在您的问题中添加日志片段 – 2008-10-02 13:18:01

回答

0

什么

mysql status 

ps aux | grep mysql 

说?

此外,日志的片段也可能会有所帮助。

1

当mysqld的崩溃(我认为它只是关闭),你可能需要在my.cnf配置log-error看到实际使用的东西。我不确定xampp是如何设置的,但是一个简单的find/-name "my.cnf"应该指向那个文件的位置。

编辑

您想安装libgcc的。它应该作为您平台的RPM提供。让我知道这是否有帮助。