PostgreSQL pgadmin4 the application server could not be contacted
2018-03-10 18:15
1166 查看
看到PostgreSQL的使用增长迅猛,又看到文章介绍PostgreSQL比MYSQL少一些坑决定下载一个试用一下,不想安装,下了个postgresql-10.3-1-windows-x64-binaries压缩版。然而我不会用,按照PostgreSQL免安装部署方法,然后打开pgAdmin的时候总是报错“The application server could not be contacted.”,尝试了网上的删除c:\Users\your_name\AppData\Roaming\pgAdmin 之内的删除所有文件和文件夹,然后在C:\Program Files\PostgreSQL\10\pgAdmin 4\web 找到config_distro.py文件,添加:MINIFY_HTML=False
DATA_DIR = "C:/Data/pgAdmin" # set non-ascii path here,都不行!然后找到技术人生上一篇帖子,该作者从官网下载pgAdmin2.0的安装版试了一下,竟然可以正常使用,经过对比发现竟然是只少了1个空文件!pgAdmin 4/venv/Lib/site-packages/backports/__init__.py0字节的空文件,创建一个即可,然后pgAdmin就能正常工作了!亲测可用。希望对你有帮助。
DATA_DIR = "C:/Data/pgAdmin" # set non-ascii path here,都不行!然后找到技术人生上一篇帖子,该作者从官网下载pgAdmin2.0的安装版试了一下,竟然可以正常使用,经过对比发现竟然是只少了1个空文件!pgAdmin 4/venv/Lib/site-packages/backports/__init__.py0字节的空文件,创建一个即可,然后pgAdmin就能正常工作了!亲测可用。希望对你有帮助。
相关文章推荐
- postgresql 10免安装版pgAdmin 4无法启动的问题:PostgreSQL pgadmin4 the application server could not be contacted
- 安装完成postgresql 后,启动大象pgAdmin4 报the application server could not be contect 错误
- Common issue: new SPSite API call returns "The Web application at http://server:port/ could not be f
- Server Application Unavailable 【Failed to execute request because the App-Domain could not be created.】的解决办法
- 错误:The message received from the server could not be parsed.
- The JRE could not be found. Edit the server and change the JRE location.
- 关于在xcode中使用Versions时,比较文件出现The File Merge application could not be located. 解决方法
- The JRE could not be found. Edit the server and change the JRE location.
- the application could not be verified
- The JRE could not be found. Edit the server and change the JRE location.
- The JRE could not be found. Edit the server and change the JRE location
- Failed to connect to the specified server. Server library could not be loaded
- Could not download the Silverlight application. Check web server settings
- 【iOS系列】-A server with the specified hostname could not be found.问题解决
- mysql报错:could not find settings Either the server service or the configuration file could not be fou
- SharePoint 2010 BDC Model项目部署出错:“The default web application could not be determined.”
- A new session could not be created. (Original error: Requested a new session but one was in progress) (WARNING: The server did not provide any stacktrace information)
- Xcode真机调试报错:The application could not be verified.
- ios真机调试 The application could not be verified.
- The JRE could not be found ,Edit server and change teh JRE location!