Date: 01/08/05 (Java Web) Keywords: mysql, sql /etc/rc.d/init.d/mysqld start /etc/rc.d/init.d/mysqld stop /etc/rc.d/init.d/mysqld restart 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 cut doesn't cut it in this case. Sure you can also just use awk. Thanks to Anthony Eden for the comment (below) to remove the [...] Source: http://blog.taragana.com/index.php/archive/how-to-startstop-mysql-server-on-linux/
|