List:General Discussion« Previous MessageNext Message »
From:Robert Rowe Date:November 29 2003 2:05am
Subject:Re: MySQL Win32 Service
View as plain text  
If I understand correctly, the MySQL source is available. If you are familiar
with the code that registers/starts/stops services you might want to take a
look at it. You might even try sending that section of the code to the vendor
and challange him to tell you how it is non-standard.

Robert Rowe
--- "Gerald R. Jensen" <gjensen@stripped> wrote:
> Stefan:
> I think you have just reinforced my position ... our contention is that
> MySQL works the same way as any other application that installs as a
> service.
> We have a number of applications (written by our own programming staff) that
> all use exactly the same procdure used in MySQL to install the service.
> I think the vendor in question has buggy/incomplete code, and is blaming
> MySQL for their problems.
> G R Jensen
> ----- Original Message ----- 
> From: "Stefan Hinz" <list_hinz@stripped>
> To: "Gerald R. Jensen" <gjensen@stripped>
> Cc: <mysql@stripped>; "robert_rowe" <robert_rowe@stripped>
> Sent: Friday, November 28, 2003 5:38 PM
> Subject: Re: MySQL Win32 Service
> Gerald,
> > How closely does the MySQL Service on Win32 platforms conform to any known
> > standard for installing/removing services?
> > I raise the question because the vendor that provides the utility we use
> to
> > create our installation package claims that MySQL uses non-standard
> commands
> > for installing and removing services. As a result, they say, we cannot
> > expect their program to install or remove the service.
> > The irony is ... their program **does** install the service. It just can't
> > stop the service and remove it.
> > We use a third-party installer because we package the six databases our
> > software suite requires with MySQL.
> I'm not sure I'm getting what you're after, but here's what MySQL
> does:
> shell> mysqld --install # installs a service with the name Mysql
> shell> mysqld --install MyMySQL # installs a service with the name MyMySQL
> shell> mysqld --remove # removes a service with the default name (Mysql)
> shell> NET START Mysql # starts the service called Mysql
> shell> NET STOP Mysql # stops the service called Mysql
> "shell>" would be something like "c:\mysql\bin>", depending on where
> you've installed MySQL. "mysqld" may as well be a different flavour of
> the MySQL server, e.g. "mysqld-max-nt".
> What "--install" does is write a couple of entries to the Windows
> registry, and "--remove" will delete those entries. I don't know
> whether that procedure is considered "standard" on Windows systems or
> not; if it isn't, you might want to have a look at what "--install"
> actually writes, and then use a standard way of writing those entries
> (using a .reg file or whatever).
> Regards,
> --
>   Stefan Hinz <hinz@stripped>
>   iConnect GmbH <>
>   Heesestr. 6, 12169 Berlin (Germany)
>   Telefon: +49 30 7970948-0  Fax: +49 30 7970948-3
> [filter fodder: sql, mysql, query]
> -- 
> MySQL General Mailing List
> For list archives:
> To unsubscribe:

Do you Yahoo!?
Free Pop-Up Blocker - Get it now
Index before or after inserts?Mirza27 Nov
  • Re: Index before or after inserts?Ed Leafe27 Nov
  • RE: Index before or after inserts?Andy Eastham27 Nov
    • RE: Index before or after inserts?mos27 Nov
  • Re: Index before or after inserts?Matt W27 Nov
  • Re: Index before or after inserts?robert_rowe28 Nov
    • MySQL Win32 ServiceGerald R. Jensen28 Nov
      • Re: MySQL Win32 ServiceStefan Hinz29 Nov
    • Re: MySQL Win32 ServiceGerald R. Jensen29 Nov
      • Re: MySQL Win32 ServiceRobert Rowe29 Nov
RE: MySQL Win32 ServiceGerald R. Jensen29 Nov
  • RE: MySQL Win32 Servicemiguel solorzano29 Nov