Bug #25588 neither mysql.server nor mysqld_multi support status command
Submitted: 12 Jan 2007 14:38 Modified: 8 Feb 2009 18:19
Reporter: Oli Sennhauser Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:any OS:Any
Assigned to: CPU Architecture:Any
Triage: Needs Triage: D5 (Feature request)

[12 Jan 2007 14:38] Oli Sennhauser
Description:
Neither the startup wrapper script mysql.server nor mysqld_multi support status command. This command this command should be supported according to the LSB. It also would be better for support of RHEL CS and make it easier installable and useable for this HA solutions...

How to repeat:
> mysql.server status
Usage: ./mysql.server  {start|stop|restart|reload}  [ MySQL server options ]

> mysqld_multi status
...
Usage: mysqld_multi [OPTIONS] {start|stop|report} [GNR,GNR,GNR...]
or     mysqld_multi [OPTIONS] {start|stop|report} [GNR-GNR,GNR,GNR-GNR,...]
...

Suggested fix:
enter a case status or add it to report

mysqladmin ping would help in a first step maybe it needs a more sophisticated script...