Can not create a new database by using pgadmin4

最后都变了- 提交于 2020-01-15 14:03:07

问题


I was trying to create a new database on pgadmin4 on my Ubuntu computer, but I got two errors.

The first one: "Error saving properties";

The second one: "Error retrieving the information - INTERNAL SERVER ERROR".

I have been looking for an answer and I found nothing but tutorials to create without error. I am starting to learn SQL and need to get it working as soon as possible to carry on my course.

------------OS------------

PostgreSQL 10

pgAdmin 4

Ubuntu 16.04 LTS 64-bit


回答1:


You should clear Encoding field in Definitions tab, when you click save button it still show error popup but the database will be created.
It seem pgAdmin 4 have a bug in its psycopg2 lib. I just wrote a question for that:
Error when create database from pgadmin4



来源:https://stackoverflow.com/questions/48574770/can-not-create-a-new-database-by-using-pgadmin4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!