PostgreSql的使用


title: PostgreSql的使用
tags: PostgreSql

PostgreSql官网: https://www.postgresql.org/

1 PostgreSql的安装

1.1 Windows安装

下载:可以选择不同版本和不同的系统

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

安装:

出现错误 Problem running post-install step. Installation may not complete correctly. The database cluster initialisation failed.

解决方式(win7 x64):
1、需要创建一个新的用户postgres
进入cmd—net user(作用:查看用户)
>>>net user postgres /add 默认没有密码

2、卸载程序

3、不要用原来的安装目录,删除后重新建一个安装目录

4、以管理员的方式进行安装

新的pgdevops4web

http://localhost:8051

用户名是root 密码87

参考:
http://www.cnblogs.com/wzjfl21/p/5225350.html

http://blog.csdn.net/fm0517/article/details/55046541

原文地址:https://www.cnblogs.com/Python666/p/7665793.html