PostgreSQL 12.3 Windows x86-64 Installer doesn't start - postgresql

I am trying to install PostgreSQL 12.3 version using installer from here, my system runs on Windows 10 (64bit). I did this procedure on different laptops (running on win10 64bit) and didn't encounter any problems until now. When I download installer and double-click on it, I am asked for administrator permissions (I grant permission to install software). After that, EDB Postgres logo appears on the screen for a few seconds and disappears and this is it. Nothing else is happening. In normal way after logo disappear, Postgres Installer should launch asking where to install, what port to use and other similar questions, but in my case it doesn't happen. I now that I can use Zip archive to install Postgresql manually, (I found how to do it in this answer), but this answer skips most important part - configuration.
Also I tried older versions of installers and every time I ended up with same result - loads only EDB Postgres logo...

Related

Installation of pgadmin4 - kinda

I've hit a wall in installing pgadmin4 on this system.
OS RHEL8
Postgres 14.2 on x86
I can switch shells to the postgres user, and view the table using psql - so that appears to be working as expected.
it also appears that i am using the pgadmin4-redhat-repo-2-1.noarch (because it returns it was upgraded)
Then i try to run
yum install pgadmin4
from my root shell
And it tries to downgrade my 2.1 to 0.9-2
I select N to stop the process, mainly because i don't want to downgrade, but also because i don't know what else to do.
Would anyone have any steps to perform to get the pgadmin4 running on this machine?

Offline slony installation on enterprise database 13.1

I have been using Windows 10 operating system. I want to use slony master-slave setup with postgresql. For this, I have downloaded enterprise database 13.1 version. After installation I select slony download from stackbuilder plus. Then I copied these 2 files to offline windows 10 machine. I install both of them. After that, i try to run a simple slonik script to setup master. while executing "init cluster" command i get file not found error, c:servershare/slony1_base.2.8.sql. Do you have an idea for the solution?
After setting SLONY_SHARE_DIR to the location that the slony1 .sql files are in, everything works fine.

Oracle SQL Developer 4.1.3 not loading in Windows 10

I've recently downloaded Oracle SQL Developer 4.1.3 from Oracle Website
and this with JDK as well, but I tried to run in windows 10, it only goes 10% of progress bar, then disappeared. Can't run it at all?
SQL Developer 4.1.3 can connect to Oracle 11g db, right?
I've found 2 things most likely cause what you're experiencing:
video driver conflict with windows and Java - this is usually what happens to cause the program to just 'disappear.' If you open a CMD window, CD to your sqldeveloper\bin directory, and run the exe from there, you should see some sort of Java 'crash' stack when the GUI goes away suddenly. And in there, you'll see a reference to a windows dll that belongs to the video driver. if that's the case, update that driver, and you should be good
the application settings for your OS user are corrupted. To fix, find your AppData, Roaming Profiles folder for 'SQL Developer' - there should be a system4.1.3... folder in there - rename it, and restart sql developer.

Trouble with postgresql local development on my mac

I have a total nightmare with trying to get started with postgresql local development on my mac.
I 1st installed it from the official site and got confused,
Then I installed postgres.app and it complains about HINT: Is another postmaster already running on port 5432?
And now I'm trying to use brew but also complains about the port.
I can't even kill the processes:
The error is happening because the port used by PostgreSQL is already in use (obvious right?).
Since you used the EnterpriseDB installer see the other answer in this thread.
The EnterpriseDB installer is what you get if you follow "download" links from the main Postgres web site. The Postgres team releases only source code, so the EnterpriseDB.com company builds installers as a courtesy to the community.
Here are some other methods to uninstall the app had you installed it via brew:
Completely uninstall PostgreSQL 9.0.4 from Mac OSX Lion?

Unable to install PostgreSQL on dev machine

I'm trying to install PGSQL 8.3 (and 8.4 and 9.0) on my work laptop. At the end of the installation, the installer complains it can't init the cluster. Investigating more, I noticed that the service is not even installed. I did use the "OneClick Installer", not the pgAdmin stand alone install. I tried installing as Administrator and as a regular user. In all the cases, the pgsql system account is created and the files copied, but the service is not.
I successfully installed PGSQL many times on my home PC. Both the laptop and desktop use Windows 7 64 bits (former is Professional, later is Ultimate). The only differences I can think of are that the laptop is part of an Active Directory and uses McAfee, while the desktop is only on a workgroup and uses Windows Security Essentials.
Are you sure the postgres user is allowed to create files in the data directory? The installer defaults to putting the data directory where the binaries are installed (e.g. c:\Program Files) which is usually not writeable by a regular user (and I never understood why the installer contains such an idiotic default).
McAffee could be an issue though. I have heard several stories about virus scanners infering with the Postgres (or other DBMS). Can you turn McAffee off - at least for the data directory?
Another problem could be that the installer is not able to create the postgres windows user (that is used to run the service).
If you are a local administrator on that machine, try to create the user before the installer does it. The installer will then not try to create the user account.
As a last ressort, you could install PostgreSQL without the installer (this is what I usually do).
Download the ZIP file from http://www.enterprisedb.com/products-services-training/pgbindownload
Unzip it into a convenient location
Run initdb (make sure you do that using the postgres user account - the one that is used to run the service later!)
run pg_ctlr register to create the Windows service
If any of those steps fails you'll see a proper error message which is not always the case with the installer.
Anti-virus is a well known issue:
http://wiki.postgresql.org/wiki/Running_&_Installing_PostgreSQL_On_Native_Windows#Antivirus_software
PostgreSQL connection problems
(answer is from one the core developers)
Postgresql 8.4 and BitDefender 11
With earlier versions of PostgreSQL, I found I had to delete the user "postgres" before reinstalling would work. Not sure what versions had that problem, though.