Bug #19905 | Mysqld can't create pid-file if computer name is reserved word (like COM4) | ||
---|---|---|---|
Submitted: | 18 May 2006 9:59 | Modified: | 2 Nov 2006 16:11 |
Reporter: | Michael Livach | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | suggest 4.1.16/5.0/5.1 | OS: | Windows (Windows XP) |
Assigned to: | Iggy Galarza | CPU Architecture: | Any |
[18 May 2006 9:59]
Michael Livach
[18 May 2006 12:22]
MySQL Verification Team
Thank you for the bug report. Microsoft Windows XP [versão 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. c:\mysql\bin>mysqld-nt --standalone --console 060517 9:10:40 InnoDB: Started; log sequence number 0 30213690 060517 9:10:40 [ERROR] mysqld-nt: Can't create/write to file 'c:\mysql\data\COM4.pid' (Errcode: 2) Can't start server: can't create PID file: No such file or directory
[2 Nov 2006 16:11]
Iggy Galarza
Windows will not allows a file beginning with a reserved word to be created. For example: C:\>echo "Test" > test.txt C:\>type test.txt "Test" C:\>echo "Test" > com4.txt The system cannot find the file specified. C:\>echo "Test" > lpt1.txt The system cannot find the file specified. An alternative pid-file can be specified by starting the server with the --pid-file= command line option (http://dev.mysql.com/doc/refman/4.1/en/server-options.html) and should be used in this case.