I installed pgAdmin 4 as part of the postgres installer for Windows. pgAdmin is now telling me there is a newer version (4.8, > 4.5 which I have). However, there is no built in upgrade functionality that I can see, and when I went to download and run the pgAdmin 4 installer to upgrade, it installed itself in the wrong place, leading to problems.
At first I tried installing it to the default location (C:\Program Files (x86)\pgAdmin 4\v4), which was incorrect, because the previous installation (from the postgres installer) went to a different location (C:\Program Files\PostgreSQL\11\pgAdmin 4).
The second time, I pointed it to my existing install of postgres (C:\Program Files\PostgreSQL\11\pgAdmin 4), but it installed itself to a subdirectory there instead (C:\Program Files\PostgreSQL\11\pgAdmin 4\v4), rather than upgrading the existing installation, once again yielding to duplicated installations and problems arising from that. I assume if I go download the postgres installer, it will just reinstall version 4.5 of pgAdmin, though I have not tested this.
What is the correct method for upgrading a pgAdmin instance originally installed by the postgres Windows installer?
I think the best option is to go to Program and files -> Select PostgreSQL and "Uninstall".
Uninstaller will ask you if you want to uninstall the whole application or only individual components. Select individual components and then select pgAdmin.
This will uninstall pgAdmin from PostgreSQL directory.
From now, install the latest version pgAdmin only from official website which will install it into: C:\Program Files (x86)\pgAdmin 4\v4
If you Download the installer from here https://www.postgresql.org/ftp/pgadmin/pgadmin4/v4.8/windows/
It should automatically install the 4.8 version in (C:\Program Files (x86)\pgAdmin 4\v4)
overwriting any existing 4.x version but keeping your server connections and setting.
In your case, the previous install was in a different place, therefore, you ended up having 2 versions.
What I suggest to you is go to control panel and uninstall from there all the versions you have. After that go to the above link, download and install the v4.8 in the default location. Every time there is a new version available just install it and let the installer install it on the default location.
Please note that your pgadmin server connections can be found in %appdata%\pgAdmin.
Note that I have personally just upgraded from v4.5 to v4.8 using this method (installing it in the default location) and it worked like a charm.
Not sure the best approach here.
If you update directly pgadmin from: https://www.postgresql.org/ftp/pgadmin/pgadmin4/v4.10/windows/ the installation goes into
"C:\Program Files (x86)\pgAdmin 4\v4\runtime\pgAdmin4.exe"
Wheras the installation of the whole EnterpriseDB Installer from:
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads is installed here:
"C:\Program Files\PostgreSQL\11\pgAdmin 4\bin\pgAdmin4.exe"
This looks like a wholly undesirable conflict? And leads to the problem identified by #Anomaly ?
To anyone finding this post (like me), before uninstalling your current pgAdmin 4, be aware that there may be limits on compatible versions based on your version of PostgreSQL. Following the instructions by Claudio Corchez, I removed my existing pgAdmin 4 and downloaded the latest 6.15. When I attempted to install it, the installer informed me that this version was not compatible with my version of PostgreSQL 10.3. So, I headed back and downloaded 4.30, which is now running. Unfortunately, it warns me each time I run it that a newer version is available. I just need to upgrade my entire PostgreSQL installation.
I had the same issue previously, and had to manually select the path.
Apparently now (v. 4.25) it auto-detects the path and updates correctly.
I had to download from the website, there was no update button embedded in pgAdmin itself
I used XAMPP 7.1.11 for Mac OS. I could not find the extensions directory to install SQLSRV extension I try so many way to solved this problem about 2 Weeks. Is there anyone every setup PHP like this. Let discus together.
I'm having the hardest time installing XAMPP on C:\Development\xampp on Windows 10. I would like my C drive to be as clean as possible so I'm moving as many dev tools to the Development folder as I can to achieve this. I get an error towards the end of the XAMPP installation about a problem running the post-install step. It then suggests I install Microsoft Visual C++ 2008 Redistributable, which I already have the 2012 version installed. Originally XAMPP was installed on C:\ with no problems.
How do I install XAMPP to the above directory or any directory other than C:\?
Edit:
I have tried installing XAMPP portable and now receive the following error
I'm no longer on Windows so I can't re-test, but as I recall, the easiest way I managed this was to use the portable version of xampp.
Make sure to run the shell setup script so that it recognizes it's location properly.
You can get it from Apache Friends
Or from PortableApps.com
I have some problems to access phpMyAdmin (Access denied) so I think that my XAMPP was not installed correctly. I want to uninstall this programm but I don't know how. I don't find the uninstall file in my C:/xampp, I don't find the programm in CCleaner, and I don't find the programm in the uninstall panel of Windows. It seems that the programm doesn't exist but I can run it and access localhost. So I don't know what to do, please help !
According to Xamp documentation :
If you installed XAMPP using the installer version, please use the Uninstaller. The Uninstaller will delete all XAMPP entries from your registry and it will uninstall some installed services included with XAMPP. We highly recommend that you use the Uninstall program for removing XAMPP installations from the Installer version.Please backup all the data you want to keep before uninstalling XAMPP.
If you installed XAMPP using the ZIP and 7zip versions, shut down all XAMPP servers and exit all panels. If you installed any services, uninstall and shut them down too. Now simply delete the entire folder where XAMPP is installed. There are no registry entries and no environment variables to clean up.
Hope it helps! :)
Do I have to uninstall the previous version first? before updating to the latest one? I am getting errors.
Yes both Xamp and wamp highly recommend you uninstall before installing a newer version.
I normally use the no-install version that just unzips to a directory. In that case, no, you could just rename the directory and install a new version.
If you're using the installer, though, it's probably best to uninstall. However, make sure you save your mysql databases and anything else you might want to keep across installs!