开发者社区> 问答> 正文

start, restart and stop the PostgreSQL server?

已解决

How can we start, restart and stop the PostgreSQL server?

展开
收起
1780169608831412 2021-10-16 15:03:44 567 0
1 条回答
写回答
取消 提交回答
  • 网络规划设计师、敏捷专家、CISP、ITSS服务经理、ACA全科目、ACP4项、ACE、CBP、CDSP、CZTP等。拥有 PRINCE2 Foundation/Practitioner、CCSK、ITIL、ISO27001、PMP等多项国际认证。 专利5+、期刊10+、知识产权师。核心期刊审稿人。
    采纳回答

    To start the PostgreSQL server, we run:

    service postgresql start
    
    

    Once the server is successfully started, we get the below message: Starting PostgreSQL: ok To restart the PostgreSQL server, we run:

    service postgresql restart
    
    

    Once the server is successfully restarted, we get the message:

    Restarting PostgreSQL: server stopped ok To stop the server, we run the command:

    service postgresql stop
    
    

    Once stopped successfully, we get the message:

    Stopping PostgreSQL: server stopped ok

    2021-10-16 16:23:44
    赞同 1 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
云栖大会:开源 PolarDB 架构演进、关键技术与社区建设 立即下载
2023云栖大会:和客户一起玩转PolarDB新特性 立即下载
2023云栖大会:PolarDB for AI 立即下载

相关镜像