You want to shutdown a running Mysql Server cleanly.
Which three commands that are valid on either Windows or Linux will achieve this?
A.
Shell> pkill –u mysql mysqld_safe
B.
Shell> service mysql safe_exit
C.
Shell> /etc/init.d/mysql stop
D.
Shell> mysqladmin –u root –p shutdown
E.
Mysql> STOP PROCESS mysqld;
F.
Shell> net stop mysql
G.
Shell> nmc mysql shutdown
Explanation:
C, D, F
C,D,F, checked.
C, D, F Ok
C wouldn’t work on windows.
As such, there are not three commands that would work on both windows AND Linux.
C, D, F
I think it’s just terrible wording on the question. It means which three would work on one or the other – not on both.
C works on Linux only
D is platform independent
F works on Microsoft only
C,D,F