Bug #43282 Change installation path. mysql.exe not found
Submitted: 1 Mar 2009 2:53 Modified: 25 Jul 2009 16:23
Reporter: David Bacon Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Server: Config Wizard Severity:S2 (Serious)
Version:5.1 OS:Windows (sp-3)
Assigned to: Assigned Account CPU Architecture:Any
Tags: install, path

[1 Mar 2009 2:53] David Bacon
Description:
Configuration Wizard 1.0.14.0

- Used the "essentials" package.  Downloaded today.
- Installed
- Changed installation path from "c:\Program Files\MySQL Server 5.1" to "e:\Program Files\MySQL_Server_5.1"

Near the end of the install, the mysql service did not start.

- Examined the registry looking for e:\Program Files\mysql and found instances of e:\Program files\mysql\MySQL_Server_5.1
- Removed the "mysql\" portion of the path in all instances found.
- A new error was displayed.  "Could not start the MySql service on Local Computer.  Error 1053:  the service did not respond to the start of control request in a timely fashion."

The "Path to executable:" info for the service is listed as "e:\Program Files\MySQL_Server_5.1\bin\mysql.exe"
- Searched for registry entry entry with DisplayName = "MySql" and "ImagePath" containing "mysql.exe"
- Changed "mysql.exe" to "mysqld.exe"
- Same 1053 error displayed.
- No mysqld.exe process running

I give up.  Tired of trying to debug this one. "Cancel" the installation.  Uninstall MySQL.

Re-install changing only "c:" to "e:".  Everything seems to have worked this time.  mysqld.exe is running.  Connected to the DB.  Can see the mysql database.

- 
- 

How to repeat:
Install as described in the "Description" section of this report.

Suggested fix:
Correct the installer.
[3 Mar 2009 12:58] Sveta Smirnova
Thank you for the report.

Verified not possibility to configure server installed in not default location correctly.

But in my case I had other failures:

1. Config Wizard did not start automatically during installation, although check box was checked
2. After running Config Wizard manually it failed in final step with message "Can not find my-template.cnf in z:\MySQL 5.1"
[30 Apr 2009 6:47] Sveta Smirnova
Bug #44457 was marked as duplicate of this one.
[25 Jun 2009 16:15] Iggy Galarza
Results

Attachment: Screenshot-XP Test - 127.0.0.1.png (image/png, text), 343.00 KiB.

[25 Jun 2009 16:23] Iggy Galarza
I attempted to recreate this problem using mysql-essential-5.1.35-win32.msi that I downloaded from dev.mysql.com on Windows XP SP3.  I tried to use as many default options as possible to keep it simple.  During the install, I chose 'Custom Install' and changed the default path for the Server to "E:\MySQL 5.1" and I changed the default path for the Datafiles to "E:\MySQL 5.1 Data".  I created both of these new folders using the installer dialogs.  Once the install completed with no problems, I was able to use Instance Config Wizard v 1.0.15.0 to successfully configure an instance and start the service.  Finally I was able to connect to this new instance using the shortcut for the command line client created by the installer.  I took a screen shot that shows the files in explorer, the running service, it's properties, the shortcut's properties... everything I could think to check for the problem described. (See attached file)  Can you still reproduce this bug?  If so, what steps should I change in the above procedure to see the symptom?
[30 Jun 2009 10:21] Sveta Smirnova
David,

please try in your environment with current version 5.1.35  to check if problem solved.
[25 Jul 2009 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[21 May 2012 12:19] Javier Rivera Zavala
Unable to reproduce. Everything worked as expected.