您是否已经在端口3306上运行了另一个mysqld服务器: [英] Do you already have another mysqld server running on port: 3306 Ubuntu

查看:140
本文介绍了您是否已经在端口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服务器:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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