| 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: | |
| 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
[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
