MySQL 在 Lampp 中停用,Linux 12.04 上的 Xampp [英] MySQL deactivated in Lampp, Xampp on Linux 12.04

查看:26
本文介绍了MySQL 在 Lampp 中停用,Linux 12.04 上的 Xampp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的 Ubuntu 12.04(Mint 13 Maya)操作系统上新安装了 xampp-linux-1.8.1.运行lampp时,我得到:

I have freshly installed xampp-linux-1.8.1 on my Ubuntu 12.04 (Mint 13 maya) Operating system. When run lampp, I get :

/opt/lampp/lampp start
Starting XAMPP for Linux 1.8.1...
XAMPP: XAMPP-Apache is already running.
XAMPP: Another MySQL daemon is already running.
XAMPP: XAMPP-ProFTPD is already running.
XAMPP for Linux started.

在:localhost/xampp/MySQL 数据库已停用!!!

In the : localhost/xampp/ MySQL DataBase is Deactivated !!!

ps -aux | grep 'mysql'
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html     mysql     3159  0.0  0.9 316264 31880 ?        Ssl  16:48   0:00 /usr/sbin/mysqld
root      4745  0.0  0.0   4648   840 pts/5    S+   17:02   0:00 grep --color=auto mysql

当我试图停止/usr/sbin/mysqld 但它不能用这个命令停止时!!!

When I tried to stop /usr/sbin/mysqld but it can't be stopped with this command !!!

/usr/sbin/mysqld stop 

我需要帮助,谢谢.

推荐答案

我已经解决了这个问题:

i've resolved the issue in this way:

sudo chmod -R 777 /opt/lampp
sudo chown -hR nobody /opt/lampp
sudo chmod -R 755 /opt/lampp

然后停止其他mysqld运行:

then stop other mysqld running with:

sudo service mysql stop

这篇关于MySQL 在 Lampp 中停用,Linux 12.04 上的 Xampp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆