Welcome Guest. Please Login or Register  


You are here: Index > Webuzo > General Support > Topic : how to stop/start mysql via CLI



Threaded Mode | Print  

 how to stop/start mysql via CLI, i need stop mysql/apache/php-fpm service via CLI (for my scripts) (1 Replies, Read 16009 times)
ry.rudi.setiawan
Group: Member
Post Group: Newbie
Posts: 5
Status:
i know to stop mysql service is via End Userpanel but i want to stop it via CLI ...

i already tried this command but mysql will automatically start again (for a moment)
# /etc/init.d/mysqld stop
# systemctl stop mysqld
# systemctl stop mysql
# service mysql stop 
# service mysqld stop 

please how to stop/start mysql via CLI ?

and how to stop/start php-fpm via CLI ?

and how to stop/start apache via CLI ?

note:
MySQL Version : 5.6
PHP Version : 5.6.40
Apache Version : 2.4
Webuzo Version : 2.9.0

thx

IP: --   

how to stop/start mysql via CLI
Rahul.Burungale
Group: Member
Post Group: Newbie
Posts: 9
Status:

Webuzo Team
Hi,

Try this:
Check MySQL process using the following command,
#lsof -i:3306

If the process running then kill process

Let us know
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
7 guests, 0 users.


All times are GMT. The time now is October 17, 2021, 10:41 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.153