Bug #995 Can't start service

Submitted: 4 Aug 2003 23:54 Modified: 12 Aug 2003 13:47
Reporter: Dirk Thomsen Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:4.1.0-alpha OS:Windows (Win2000)
Assigned to: CPU Architecture:Any

[4 Aug 2003 23:54] Dirk Thomsen
Description:
I downloaded 4.1.0-alpha source and maked them. That worked after some correktions (removed c-latin1de.c from make descriptions, fixed some 'int i' multiple defined bug). but trying to start the mysql service run into an error 1067. I did exectly what is described in \docs\manual.html

C:\mysql\bin>mysqld --install
Service successfully installed.

C:\mysql\bin>net start mysql
The MySql service is starting.
The MySql service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.

How to repeat:
compile and try to start the service afterwards.
[5 Aug 2003 4:43] MySQL Verification Team
The compiler reported issues are already reported and for complementary
actions please read the bug #312 how to enable the support of utf8.

The start problem is another issue: the server has aborted for some
reason that you can find trying to start it as standalone:

mysqld --standalone --console

Take a look in the error messages.

for complementary instructions please read:

http://www.mysql.com/doc/en/Windows_source_build.html
[24 Nov 2003 1:35] [ name withheld ]
The problem occurs with 4.0.16, too. There only, if the service-name is not default.
I changed my 4.1.0-alpha- source the following:

NTService::Install()
Add 
    lstrcat( szFilePath, " " );
    lstrcat( szFilePath, szInternName );
before calling CreateService() (file-line 129).
Change
			szFullPath,	//exec full path
to
			szFilePath,	//exec full path + service-name
when calling CreateService() (file-line 140).

Maybe you normally use other then lstrcat(). Wrote it down just
to prevent you from searching the code:)

Regards,

TomH

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.