admin 管理员组

文章数量: 887021

运行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": ""
}

 

本文标签: pgAdmin Server Application