Home  >  Article  >  Database  >  Enterprisedb数据库安装时兼容postgresql,改到兼容oracle的方法

Enterprisedb数据库安装时兼容postgresql,改到兼容oracle的方法

WBOY
WBOYOriginal
2016-06-07 15:38:01993browse

enterprisedb是基于postgresql的企业级数据库。 1 在OS上创建用户enterprisedb 2 创建一个新的数据集文件夹,并使其owner为enterprisedb 3 切到enterprisedb用户 4 进入enterprisedb的家目录,默认是/opt/PostgresPlus/9.1AS/bin 5 执行下列命令 ./initdb -D

enterprisedb是基于postgresql的企业级数据库。

1
在OS上创建用户enterprisedb
2
创建一个新的数据集文件夹,并使其owner为enterprisedb
3
切到enterprisedb用户
4
进入enterprisedb的家目录,默认是/opt/PostgresPlus/9.1AS/bin
5
执行下列命令
./initdb -D 新数据集文件夹
6
进入新数据集文件夹,修改postgresql.conf文件中的port为唯一
7
启动新数据库
./pg_ctl start -D 新数据集文件夹

8 登录
./psql -p portnumber edb
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn