您是否已经在端口3306上运行了另一个mysqld服务器:

编程入门 行业动态 更新时间:2024-10-27 13:29:38
本文介绍了您是否已经在端口3306上运行了另一个mysqld服务器:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我是Ubuntu的新手,我正在尝试使用xampp运行mysql.较早的xampp已成功运行,并且还可以运行mysql.但是突然,当我尝试启动它时,它正在停止,并且它将在日志上显示一条错误消息,指出您是否已经在端口3306上运行了另一个mysqld服务器".因此,我尝试使用以下命令杀死mysql的运行进程,但即使该进程被杀死,当我重新运行以下命令时,也会有另一个新的mysql进程正在运行.

I am new to Ubuntu and I am trying to run mysql using xampp. Earlier xampp was run successfully and able to run mysql as well. But suddenly when I trying to start it was stopping and it will display an error message on log saying "do you already have another mysqld server running on port: 3306". So I tried to kill the running process of mysql using following command but even that process was get killed, there will be another new process of mysql running when I rerun the following command.

mysqld的pid

sudo kill -9< pid>

我也尝试杀死端口3306上运行的所有进程.但是,同样的结果发生了.我在哪里弄错了,以及如何解决这个问题?

I tried to kill all the processes running on port 3306 as well. But same result happened. Where I was get wrong and how to resolve this?

推荐答案

sudo lsof -i TCP:3306'和 sudo kill`命令对我有用.

sudo lsof -i TCP:3306' andsudo kill ` commands worked for me.

更多推荐

您是否已经在端口3306上运行了另一个mysqld服务器:

本文发布于:2023-08-07 10:43:54,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1318685.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:端口   服务器   您是否   mysqld

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!