# To Start MySQL Server #启动MySQL服务器
/sbin/service mysqld start / sbin /服务mysqld启动

# To Stop MySQL Server #停止MySQL服务器
/sbin/service mysqld stop / sbin /服务mysqld停止

# To Restart MySQL Server #重新启动MySQL服务器
/sbin/service mysqld restart / sbin /服务重新启动mysqld

And of course there is the brute force way to kill all the processes:而且当然是有强权的方式来杀死所有的进程:
$ for i in `ps -ef |grep mysqld |awk ‘{print $2}’`; do `kill -9 $i`; done元,因为我在`的PS -外汇基金| grep mysqld | awk ' (打印2元) ' ` ;做`杀死-9 10 。 ` ;做

Thanks to Anthony Eden for the comment (below) to remove the dot in front.感谢安东尼艾登为评论(见下文) ,以消除斑点在前面。

A simpler alternative is:一个较简单的办法是:
pkill mysqld pkill mysqld

This will kill the mysqld process.这将杀死mysqld进程。 However the best way to stop (because it stops properly) is obviously:不过,最好的办法阻止(因为它停止妥善) ,显然是:
/sbin/service mysqld stop / sbin /服务mysqld停止