Issues upgrading MySQL due to env variable
I am having issues upgrading MySQL running on Windows, using the ZIP installer. I am attempting to upgrade from MySQL v5.6.37 to v5.7.24. There is an older version of MySQL, v5.5.9, still installed on the server. Only the 5.6 service is running on the server.
When I run the mysql_upgrade command, I get the following output:
C:\Windows\system32>mysql_upgrade
Looking for 'mysql.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysql.exe
Looking for 'mysqlcheck.exe' as: C:\Program Files\MySQL\MySQL Server 5.5\bin\mysqlcheck.exe
The upgrade eventually errors out. Running mysql --version from the command promot returns
mysql Ver 14.14 Distrib 5.5.9, for Win64 (x86)
Somewhere there's an environment variable that is set to point to v5.5.9. I've checked CLASSPATH, which isn't configured, and PATH, which doesn't point to any of the MySQL installs.
Where should I be looking for this environment variable? And how can I change it?
Subject
Written By
Posted
Issues upgrading MySQL due to env variable
January 09, 2019 11:36AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.