[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MySQL Installing in the Wrong Folder

Posted on 2014-08-22
2
Medium Priority
?
491 Views
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?
0
Comment
Question by:jrlittle86
2 Comments
 
LVL 35

Accepted Solution

by:
Dan Craciun earned 1500 total points
ID: 40280477
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.

Dan
0
 

Author Closing Comment

by:jrlittle86
ID: 40346865
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.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month18 days, 3 hours left to enroll

831 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