Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when opening pgAdmin 4 on mac

I have installed version 4-1.5, but when opening it, it always shows this error "The application server could not be contacted."

like image 988
Fredy B. Avatar asked May 21 '17 20:05

Fredy B.


People also ask

Why pgAdmin is not opening in Mac?

Problems with pgAdmin 4 on MacBook Pro running macOS BigSur 11.2. 3. There is a known issue of pgAdmin freezing on launch on macOS BigSur because of a bug in Qt 5.13 and 5.14 versions. Till this issue is fixed, the work-around for this is to set the variable QT_MAC_WANTS_LAYER.

How do I open pgAdmin 4 on Mac?

Right-click on the icon of pgAdmin and copy it. Then open the Application folder of macOs to paste into this folder. Now you can start pgAdmin by clicking its icon in Application.

How do I update pgAdmin 4 on Mac?

Download the latest version of PG Admin 4 from https://www.pgadmin.org/download/pgadmin-4-macos/. Mount the Disk Image and click Agree at the prompt. Open the /Applications/Extensis/⁨Universal Type Server/⁨pgsql. 9/⁨pgsql⁩ folder in a new window and drag the pgAdmin 4 Application into that folder.


1 Answers

I removed the local directory hidden and resolved:

$ cd ~
$ rm -r .pgadmin/

Note: macOS Sierra (10.12.6) and pgAdmin 4-1.6. Also you are going to loose configuration data like database list tree, et al.

The Databases will remain intact since you are modifying/deleting PgAdmin related data not any of Postgresql itself.

like image 100
Gontran Bezerra Avatar answered Sep 29 '22 18:09

Gontran Bezerra