pgadmin-4

PGAdmin: Not connected to the server or the connection to the server has been closed

China☆狼群 提交于 2020-01-13 07:42:26
问题 i got this problem with postgreSQL, when i do a simple query of anything (CRUD), sometimes it works and almost always shows this message: Not connected to the server or the connection to the server has been closed. I don't know how to solve it and it started to irritate me, anyone know how to fix it? UPDATE 1 I have been searching and it seems the pgadmin4 the problem (it seems because it's not 100% developed yet), i have been using pgadmin3 and that error doesn't show up. 回答1: The reason

Error when create database from pgadmin4

前提是你 提交于 2020-01-06 05:14:47
问题 When I create database from pgadmin 4, it always show error popup: Error saving properties. My computer info: Linux Mint 18.3 pgAdmin 4 2.1 from https://wiki.postgresql.org/wiki/Apt Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609] My error in pgadmin4.log: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 180, in run_wsgi execute(self.server.app) File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 168, in execute

pgAdmin4: Importing a CSV

拟墨画扇 提交于 2020-01-05 04:15:29
问题 I am trying to import a CSV using pgAdmin4. I created the table using the query, CREATE TABLE i210_2017_02_18 ( PROBE_ID character varying(255), SAMPLE_DATE timestamp without time zone, LAT numeric, LON numeric, HEADING integer, SPEED integer, PROBE_DATA_PROVIDER character varying(255), SYSTEM_DATE timestamp without time zone ) The header and first line of my CSV read is... PROBE_ID,SAMPLE_DATE,LAT,LON,HEADING,SPEED,PROBE_DATA_PROVIDER,SYSTEM_DATE 841625st,2017-02-18 00:58:19,34.11968,-117

FATAL: password authentication failed for user “postgres” (postgresql 11 with pgAdmin 4)

ぐ巨炮叔叔 提交于 2020-01-02 05:15:10
问题 I recently installed Postgresql 11, during the installation, there's no step to put password and username for Postgres. Now in pgAdmin 4, I wanted to connect the database to server and it's asking me to input password, and I haven't put any in the first place. Any one knows what's going on. Thank you! 回答1: You could access your pgpass.conf via pgAdmin -> Files -> open pgpass.conf That will give you the path of pgpass.conf at the bottom of the window (official documentation). If you then open

pgAdmin 4 v3.0 Query Tool Initialize Error

你。 提交于 2020-01-02 00:59:12
问题 I recently got a new laptop and downloaded pgAdmin 4 v3.0. Before now, I had been running pgAdmin 4 v2.0 with no issues. However, now whenever I try to open the Query Tool (just by going through the drop down Tools menu), I receive the error message "Query Tool Initialize Error". The Query Tool worked for two or three queries after the initial error message, but has been returning the error message whenever selected in the days since then. I am able to create and edit tables and views, but

Postgresql Transaction ID Not Found

强颜欢笑 提交于 2020-01-01 08:04:04
问题 Whenever I am executing a query in postgresql, this is the error message I receive Transaction ID not found in the session. Does anyone have any idea how to resolve this? I recently created a new user, but I was unable to find documentation that even shows this as a valid error. Additional Details: I've managed to resolve the error by re-connecting with admin credentials. I was using PG Admin V4 with Postgres V9.6, and that was the only message appearing in any query I executed, even if it

Postgresql Transaction ID Not Found

左心房为你撑大大i 提交于 2020-01-01 08:03:30
问题 Whenever I am executing a query in postgresql, this is the error message I receive Transaction ID not found in the session. Does anyone have any idea how to resolve this? I recently created a new user, but I was unable to find documentation that even shows this as a valid error. Additional Details: I've managed to resolve the error by re-connecting with admin credentials. I was using PG Admin V4 with Postgres V9.6, and that was the only message appearing in any query I executed, even if it

OSError: [Errno 13] Permission denied: '/var/lib/pgadmin'

倾然丶 夕夏残阳落幕 提交于 2020-01-01 05:02:49
问题 Ubuntu 16.04.3 I'd like to install pgAdmin: I hvae created a virtualenv with python 2. Then install pgAdmin 4 v2.0: pip install https://ftp.postgresql.org/pub/pgadmin/pgadmin4/v2.0/pip/pgadmin4-2.0-py2.py3-none-any.whl It's time to run pgAdmin: (pgadmin4) michael@michael-desktop:~/PycharmProjects/venv$ python pgadmin4/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py Traceback (most recent call last): File "pgadmin4/lib/python2.7/site-packages/pgadmin4/pgAdmin4.py", line 55, in <module> exec

pgadmin4 : postgresql application server could not be contacted.

谁说我不能喝 提交于 2019-12-28 08:00:29
问题 I have installed PostgreSQL 9.6.2 on my Windows 8.1. But the pgadmin4 is not able to contact the local server. I have tried several solutions suggested here in stackoverflow, tried to uninstall and reinstall PostgreSQL 9.6.2 , tried to modify the config.py, config_distro.py, and delete the files in Roaming folder,i tried standalone pgadmin4 installation, but no success.However, in my local machine i am able to access the server using psql.exe and log as as superuser (postgres user). Can you

Launch PostgreSQL GUI

北慕城南 提交于 2019-12-25 08:59:19
问题 I have installed PostgreSQL v9.6 on Windows 7 using my user (PC-Admin), the problem is when I start Pgadmin4.exe the application shows that it is starting then freeze without showing the GUI , taking the following notes into consideration: it is working fine for other users on the PC even if not in admin group. I tried to uninstall it , delete registry folders for local machine & local user and also delete the temp folder and Apps roaming , also the folder of the program in c:/ drive and then