MySQL Installing in the Wrong Folder

Posted on 2014-08-22
Last Modified: 2014-09-26
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?
Question by:jrlittle86
    LVL 34

    Accepted Solution

    The only logical explanation is that Canon installs it's own version of MySQL and then you upgrade that installation.

    PS: You have not attached the log file.


    Author Closing Comment

    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.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now