我是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服务器:
发布评论