您的当前位置:首页正文

linux怎么启动postgresql

2024-07-16 来源:化拓教育网

linux下启动postgresql的方法:

1、初始化数据库,否则无法启动

postgresql-setup initdb

2、启动数据库

service postgresql start

查看数据库状态

service postgresql status

推荐: