作为在线学习需求的一部分,我最近在我的windows机器上安装了Postgres 14.3。我创建了一个数据库和一个用户,以便在shell中用下面的行连接到数据库:
postgres=# create database staff;
postgres=# create user Naruto with encrypted password 'secret';
postgres=# grant all privileges on database staff to Naruto;
postgres=# \c staff Naruto;
password for user Nar
前段时间,我在安装SQL server 2005 express时卸载了SQL server 2008 express。
执行此操作需要安装windows installer 4.5。
现在我找到了再次使用SQL server 2005 express的理由。
(重新连接到outlook Business Contact Manager,后者要求它连接到默认的MSSQL\MSSMLBIZ数据库)
然而,当我安装任何版本的SQL server 2005时,所有重要的东西都会失败,比如数据库引擎,并提示我应该将我的windows安装程序升级到更新的版本。
我解释这是因为SQL 2005安装程序遇到
我试图在Ubuntu12.04上使用PostGIS 9.1设置PostgreSQL db。我已经设置了数据库,创建了一个没有密码的用户帐户"jay“,在第2.5节之后添加了空间功能,并将pg_hba.conf for local设置为:
# "local" is for Unix domain socket connections only
local all all trust
我可以使用pgAdminIII连接到数据库,连接不需要密码,但是当我试图通过PostGIS或