Bug #15687 Server can't start from the windows command line
Submitted: 12 Dec 2005 17:00 Modified: 12 Dec 2005 17:08
Reporter: [ name withheld ] Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.0.16 OS:Windows (Windows 98 SE; Win XP)
Assigned to: MySQL Verification Team CPU Architecture:Any

[12 Dec 2005 17:00] [ name withheld ]
Description:
On Windows 98 SE:

I completely removed C:\mysql. After installing MySQL 5.0.16 in C:\Program Files\MySQL\MySQL Server 5.0. the command C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld don't start MySQL on Windows 98 SE.

This commands return : "[Error] Can't find messagefile 'C:\Program 
Files\MySQL\MySQL Server 5.0\share\english\errmsg.sys'". (errmsg.sys exists 
at that location).

(On Windows XP:
I can run MySQL as a service. 
I can run it from the command line with the option --console
But I can't run it from the command line without this option)

How to repeat:
On Windows 98 SE:

I completely removed C:\mysql from my hard disk and the my.ini file in 
C:\Windows. I used the mysql automated installer then the configuration 
wizard. MySQL was installed in C:\Program Files\MySQL\MySQL Server 5.0.

The command C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld don't start 
MySQL on Windows 98 SE.

This commands return : "[Error] Can't find messagefile 'C:\Program 
Files\MySQL\MySQL Server 5.0\share\english\errmsg.sys'". (errmsg.sys exists 
at that location).

I completely removed all occurence of MySQL from my hard disk.
Scan the whole disk to find all remaining occurence oh my.ini - my.cnf - libmySQL.dll - mysql*.* : none found
I removed the registry key : HKEY_LOCAL_MACHINE\SOFTWARE\MySQL AB

I installed mysql 5.0.16 from "mysql-noinstall-5.0.16-win32.zip" in C:\mysql

new ini file my.ini in c:\windows with correct path to myqsl and data

tried mysqld from command line :
The server don't start and this message appear:
"[Error] Can't find messagefile 'C:\mysql\share\english\errmsg.sys'"

I checked this file : errmsg.sys exists in 
C:\mysql\share\english\errmsg.sys.

Starting the server with the option "--defaults-file=file_name" doesn't solve my problem.

Note: Installation on a computer which never had mysql on the hard disk and 
installation at "C:\Program Files\MySQL\MySQL Server 5.0" had the same 
outcome : the server did not start from the command line
[12 Dec 2005 17:08] MySQL Verification Team
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in MySQL.

Additional info:

Duplicate of bug:

http://bugs.mysql.com/bug.php?id=15209