windows7安装pgAdmin 4出现”pgAdmin 4 the application server could not be ...“

运行pgAdmin出现”pgAdmin 4  the application server could not be contant“ 窗口。

解决方式:

1. c:\Users\your_name\AppData\Roaming\pgAdmin 之内的删除所有文件和文件夹

2.C:\Program Files\PostgreSQL\10\pgAdmin 4\web 找到config_distro.py文件

添加:

MINIFY_HTML=False
DATA_DIR = "C:/Data/pgAdmin" # set non-ascii path here

则为

SERVER_MODE = False
HELP_PATH = ‘../../../docs/en_US/html/‘
MINIFY_HTML=False
DATA_DIR = "C:/Data/pgAdmin" # set non-ascii path here
DEFAULT_BINARY_PATHS = {
"pg":   "C:\\Program Files\\PostgreSQL\\10\\bin",
"ppas": ""
}

 

你可能感兴趣的:(数据库,postgresql)