PostgreSQL16在WIN10安装

assembler汇编器 compiler编译器 interpreter 解释器

https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

 

Professional JavaScript for Web Developers
https://www.wiley.com/en-us/Professional+JavaScript+for+Web+Developers%2C+5th+Edition-p-9781394193219#downloadstab-section

https://www.wiley.com/en-us/Professional+JavaScript+for+Web+Developers%2C+4th+Edition-p-9781119366447#downloadstab-section

 

安装报错

 


Failed to load SOL modules into the database cluster.

通过安装目录下的 uninstall-postgresql.exe 将未安装完全的 Postgresql 完全卸载。
创建一个名为 postgres 的 windows 本地用户,务必设置并记住该本地用户的密码,并设为管理员账户。
然后在你想要安装 postgresql 的文件夹(如新建在E盘一个名为 postgresql 的文件夹),右键属性—安全—编辑—添加—高级—立即查找,找到 postgresql 用户后将其添加到“组或用户名中”,并对其开放完全控制权限。
重启电脑,仍然用你原来的本地账户登陆,然后打开 CMD 命令行输入:runas/user:postgres cmd.exe.

 

runas/user:postgres cmd.exe

 

 

 

 

 

安装完重启计算机,服务启动即可以了。

 

 

 

 

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-- Database: postgres
 
-- DROP DATABASE IF EXISTS postgres;
 
CREATE DATABASE postgres
    WITH
    OWNER = postgres
    ENCODING = 'UTF8'
    LC_COLLATE = 'Chinese (Simplified)_China.936'
    LC_CTYPE = 'Chinese (Simplified)_China.936'
    LOCALE_PROVIDER = 'libc'
    TABLESPACE = pg_default
    CONNECTION LIMIT = -1
    IS_TEMPLATE = False;
 
COMMENT ON DATABASE postgres
    IS 'default administrative connection database';

  

 

 

 

 

 

 

 win10 下安装postgresql-9.6.24-1-windows-x64.exe

遇到问题:

采取在CMD下运行


postgresql-9.6.24-1-windows-x64.exe --install_runtimes 0

 

 

 



 

posted @   ®Geovin Du Dream Park™  阅读(67)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 25岁的心里话
· 闲置电脑爆改个人服务器(超详细) #公网映射 #Vmware虚拟网络编辑器
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· 零经验选手,Compose 一天开发一款小游戏!
· 一起来玩mcp_server_sqlite,让AI帮你做增删改查!!
历史上的今天:
2018-08-17 css:Media Queries: How to target desktop, tablet and mobile?
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示