Bug #24343 SC.EXE instructions incorrect in documentation
Submitted: 15 Nov 2006 18:56 Modified: 15 Nov 2006 19:11
Reporter: Lee Stigile Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Enterprise Monitor Severity:S3 (Non-critical)
Version:7.37 OS:Linux (fedora 4)
Assigned to: Peter Lavin CPU Architecture:Any

[15 Nov 2006 18:56] Lee Stigile
Description:
The sc parameters for installing an agent as a service is incorrect.  It's in section 3.6.2. Monitoring Multiple Server Instances:

Current:
sc create MySQLAgent3307 binPath= "\"C:\Program Files\MySQL\Network\ »
   Agent\ C:\Program Files\MySQL\Network\Agent\mysql-service-agent.exe\"  »
   -f \"c:\Program Files\MySQL\Network\Agent\mysql-service-agent-3307.ini\""

How to repeat:
Try to install with parameters from the doc.  The service won't start because the first binpath parameter does not point to an exe.  

Suggested fix:
This works:
sc create MySQLAgent3307 binPath= "\"C:\Program Files\MySQL\Network\Agent\mysql-service-agent.exe\"  »
   -f \"c:\Program Files\MySQL\Network\Agent\mysql-service-agent-3307.ini\""

note: I just removed the first path after binpath.
[15 Nov 2006 19:12] Peter Lavin
Corrected in:

svn commit - merlin@docsrva: r532