RE: MySQL Win32 Service

2003-11-29 Thread miguel solorzano
At 08:29 29/11/2003 -0600, Gerald R. Jensen wrote:
Hi Gerald, all
Some comments about this thread:

Installer tools handle the service application in basic general way,
I think the vendor would said non-simple service than non-standard
service. For example MySQL aborts the service start if the configuration
file was not created and edited the variables basedir/datadir if the
install location is different than the default one. Also MySQL has
3 types services: the default MySQL which the image path don't have
argument, a custom service with an extra argument for the service
name and a custom service with 2 extra arguments the --defaults-file=
option and service name.
In my opinion I don't expect that these installer tools does that
task instead I prefer the tool provide me a way for to launch an
external custom DLL or console application which contents the routines
for.
--
Regards,
For technical support contracts, visit https://order.mysql.com/
Are you MySQL certified?, http://www.mysql.com/certification/
Miguel Angel Solórzano <[EMAIL PROTECTED]>
São Paulo - Brazil

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.541 / Virus Database: 335 - Release Date: 14/11/2003

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: MySQL Win32 Service

2003-11-29 Thread Gerald R. Jensen
Robert ...

An excellent suggestion.

Our best Programmer / Analyst has already reviewed the source code, and his 
conclusion is that there is absolutely nothing 'non-standard' about the way 
MySQL installs/removes services.

G R Jensen

-Original Message-
From:   Robert Rowe [SMTP:[EMAIL PROTECTED]
Sent:   Friday, November 28, 2003 8:05 PM
To: Gerald R. Jensen; Stefan Hinz
Cc: [EMAIL PROTECTED]; robert_rowe
Subject:    Re: MySQL Win32 Service

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" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
> To: "Gerald R. Jensen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; "robert_rowe" <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
>   iConnect GmbH <http://iConnect.de>
>   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: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
>
>
>
>


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: MySQL Win32 Service

2003-11-28 Thread Robert Rowe
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" <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]>
> To: "Gerald R. Jensen" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>; "robert_rowe" <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
>   iConnect GmbH <http://iConnect.de>
>   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: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
> 
> 
> 
> 


__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: MySQL Win32 Service

2003-11-28 Thread Gerald R. Jensen
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" <[EMAIL PROTECTED]>
To: "Gerald R. Jensen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "robert_rowe" <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
  iConnect GmbH <http://iConnect.de>
  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: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: MySQL Win32 Service

2003-11-28 Thread Stefan Hinz
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 <[EMAIL PROTECTED]>
  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: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



MySQL Win32 Service

2003-11-28 Thread Gerald R. Jensen
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.

G R Jensen



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]