Link to home
Start Free TrialLog in
Avatar of Jim Little
Jim LittleFlag for United States of America

asked on

MySQL Installing in the Wrong Folder

Here's the question:  Can anybody tell me where the .MSI installer gets the folder name where MySQL is to be installed?  

I've installed this mysql .msi file well over 100 times without a single thought that there would ever be an issue.  Today something happened that I can't figure out.

On a 32 bit machine running MySQL Server 5.5 - I've always used the default install location and the files and folders are always created from the following Base Directory:

c:\program files\mysql\mysql server 5.5

On 2 PCs I have a Canon printer installed. On these 2 PCs MySQL chooses to install the files with THIS folder as the Base Directory:

c:\program files\canon\Easy-WebPrint EX

Same result if I use MySQL 5.6.

I've uninstalled all Canon print drivers and cleared out everything I could find relating to Canon in the registry. Rebooted several times.  Uninstalled/Reinstalled the MySQL .MSI file.  The funny thing is, when I've completely deleted all Canon folders, MySQL recreates them.

At least the MySQL 5.6 version produces an install log file while installing so I was able to watch and save the install log.  Attached is the Install Log file. You'll see around line 90 where MySQL begins copying the files to the base directory listed above...(c:\program files\canon\Easy-WebPrint EX).  I was hoping to see where MySQL was getting the base dir info but I didn't see it here.  Maybe there is something in there that make sense to you.

MySQL is obtaining this folder information from somewhere that I haven't been able to find.  Anybody have any ideas how this happens?
ASKER CERTIFIED SOLUTION
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jim Little

ASKER

This one is just too time consuming to be able to pinpoint an answer.  Canon installs a TON of files and registry entries for it's Pixma printers.

From what I could tell Canon doesn't create any mysql service but I'm guessing it's also possible that there was a registry entry that the mysql .msi installer obtained the default install directory from.

Once I uninstalled the Canon printer apps and drivers AND removed all of the Canon registry entries the installer worked just fine.

Installation order matters in this case.  Installing the mysql .msi installer first then the Canon Pixma printer drivers/software 2nd proved to be acceptable.

A workaround is all that is needed and we were able to go that route.  Thanks for the reply.