You must have ArcGIS 10.5 installed.....the patch is for ArcGIS 10.5.1. Desktop 10.5 and Desktop 10.5.1 are different ArcGIS Desktop versions.
So download the setup for ArcGIS Desktop 10.5.1, install it, install the patch and then try connecting to your Database.