nestjs:win10安装postgresql14失败解决方案

news/2024/7/9 21:31:06 标签: postgresql, 数据库, database

说明:

        本人第一次使用postgresql,去官网下载的14(最新版)Download PostgreSQL,然后就悲催了,按照网上各种法子安装都会出现:"Failed to load sql modules into the database cluster"

解决方案:

        放弃安装14了,我觉得是版本问题,换成旧版本10.19

        

        创建了本地用户postgres,将其账户类型改为管理员

         

        之后切换至postgres账户,进行安装,没有出现提示了"Failed to load sql modules into the database cluster"

         之后我没有试用runas/user:postgres cmd.exe能否在administrator账户下安装10.19版本成功,如果有其他人尝试能够安装成功,可以在评论区留言下,谢谢~


http://www.niftyadmin.cn/n/1772299.html

相关文章

nestjs:JwtStrategy requires a secret or key TypeError: JwtStrategy requires a secret or key

解决方法: 将import { Strategy } from passport-jwt改为import { Strategy } from passport-local; 需要先安装依赖,执行命令npm i passport-local --save

IntelliJ IDEA:Webstorm的terminal以管理员权限运行脚本

参考: Webstorm——以管理员权限运行脚本_m0_37616866的博客-CSDN博客 在Webstorm的terminal中以管理员权限运行命令行或脚本 - 简书

anchors的生成过程(Faster Rcnn)

anchors的生成主要在lib\layer_utils\generate_anchors.py里 直接运行该程序可以得到生成的结果 # anchors # -83 -39 100 56 # -175 -87 192 104 # -359 -183 376 200 # -55 -55 72 72 # -119 -119 136 136…

mysql:Error ‘Cannot add or update a child row: a foreign key constraint fails故障解决

参考: Error Cannot add or update a child row: a foreign key constraint fails故障解决 总结: 解决办法:删除不存在教师的教师班级数据,或者都删除外键关系

Intellij IDEA:仅视图换行,编辑时不自动换行

解决方法: 1.编辑器视图自动换行: View->Active Editor->Soft-Wrap 勾选 2.编辑文件自动换行取消: ​​​​​​ 打开任意文件, soft-wrap打开对应的配置 将Soft-Wraps全部更改为非选中状态 3.还有一个code style的hard w…

Faster Rcnn 代码解读之 mobilenet_v1.py

推荐博客 https://www.cnblogs.com/hellcat/p/9726528.html https://blog.csdn.net/stesha_chen/article/details/82699331 # -------------------------------------------------------- # Tensorflow Faster R-CNN # Licensed under The MIT License [see LICENSE for detail…

Jenkins | GitLab CI/CD:job artifacts何时被删除

参考: Job artifacts | GitLab 作业产物 | GitLab 说明: 晚点补充

Faster Rcnn 代码解读之 resnet_v1.py

推荐博客:https://blog.csdn.net/gusui7202/article/details/84799212 # -------------------------------------------------------- # Tensorflow Faster R-CNN # Licensed under The MIT License [see LICENSE for details] # Written by Zheqi He and Xinlei C…