1. Home
  2. Technology
  3. MySQL
  4. MySQL Won’t Install on HP Server

MySQL Won’t Install on HP Server


When installing MySQL on HP desktop or Server platforms, the installation may fail. A check of the MySQL install logs or Windows Application logs will show an error indicating the following:

“Could not access network location Hewlett-Packard\”


This problem stems from a registry entry left behind on some HP systems. The MSI installer is having its property INSTALLDIR set from this location, which causes the error. Although the issue has only been encountered on a Windows 7 platform so far, this is not a Windows 7 issue, as it has not been reported on anything but an HP-brand computer.


To fix this problem, Search for the following registry values and delete the “Uninstall” keys:

**NOTE: Verify that the Uninstall value is pointing to Hewlett-Packard\ before deleting it, otherwise it may delete the good Install Location values in the registry.

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall  (on 32-bit machines)
  • HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall (on 64-bit machines)

You can also put the following text in a .REG file (e.g. hpinstallfix.reg) and run it, which will remove the keys:

Once the keys are removed, re-run the MySQL installer and it should complete succesfully.

For more details on this issue and fix, see http://blog.unixwiz.net/2012/01/could-not-access-network-location-hewlett-packard-error.html

Updated on March 30, 2020

Was this article helpful?

Related Articles