gpt4 book ai didi

MySQL 数据库在 ubuntu 14.04 中的 XAMPP-1.8.3.4 中停止

转载 作者:行者123 更新时间:2023-11-29 21:58:44 26 4
gpt4 key购买 nike

MySQL 已在运行,但打开时 http://localhost/phpmyadmin/我收到这样的错误:

#2002 - Connection refused The server is not responding (or the local server's socket is not correctly configured).

当我尝试使用 sudo/opt/lampp/lampp start 从命令行运行时,我收到如下消息:

XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...already running.

我已 checkin ps -aux | grep mysqld

我收到这样的消息:

ahmadso+ 7118 0.0 0.0 15948 2220 pts/6 S+ 09:23 0:00 grep --color=auto mysqld

当我尝试 sudo service mysql stop 时我收到这样的消息:

stop: Unknown instance:

我使用Ubuntu操作系统,我尝试卸载并重新安装xampp,但没有解决问题。

请帮助我。

最佳答案

尝试停止所有 XAMPP 服务,然后重新启动它们:

停止

sudo service apache2 stop
sudo service mysql stop

开始

sudo service apache2 start
sudo service mysql start

关于MySQL 数据库在 ubuntu 14.04 中的 XAMPP-1.8.3.4 中停止,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32878526/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com