MySQL Server upgrade using installer fails
Posted by: Gregory Bologna
Date: April 13, 2022 06:01AM

We have MySQL installed to D: drive on Windows Server. Trying to use the installer to upgrade to 5.7.37

This folder must be hidden by Windows. Running installer as Admin with full privileges results in error

"System.UnauthorizedAccessException: Access to the path 'D:\System Volume Information' is denied."

MySQL instance:

innodb_version 5.7.28
protocol_version 10
slave_type_conversions
tls_version TLSv1,TLSv1.1,TLSv1.2
version 5.7.28-log
version_comment MySQL Community Server (GPL)
version_compile_machine x86_64
version_compile_os Win64


************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'D:\System Volume Information' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.AddSearchableDirsToStack(SearchData localSearchData)
at System.IO.FileSystemEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
at MySql.Installer.Core.Classes.Utilities.GetServerInstanceProcessId(String dataDirectory)
at MySql.Installer.Plugins.Server.LocalServerInstance.get_RunningProcess()
at MySql.Installer.Plugins.Server.LocalServerInstance.StopInstance()
at MySql.Installer.Plugins.Server.LocalServerInstance.ShutdownInstance(Boolean useOldSettings)
at MySql.Installer.Plugins.Server.ServerConfigurationController.StopServerSafe(Boolean useOldSettings)
at MySql.Installer.Plugins.Server.ServerConfigurationController.PreUpgrade()
at MySql.Installer.Core.Package.PackageManager.NotifyPackageStarted(IPackage package, PackageAction action)
at MySql.Installer.Core.Package.PackageManager.Execute()
at MySql.Installer.Wizards.Common.InstallProgressPage.Execute()
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.ContainerControl.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Me

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL Server upgrade using installer fails
929
April 13, 2022 06:01AM


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.