start, restart and stop the PostgreSQL server?-问答-阿里云开发者社区-阿里云

开发者社区> 问答> 正文

start, restart and stop the PostgreSQL server?

1780169608831412 2021-10-16 15:03:44 41

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

云服务器登录 云服务器设置
分享到
取消 提交回答
全部回答(1)
  • 无敌小将
    2021-10-16 16:23:44
    已采纳

    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

    1 0
数据库
使用钉钉扫一扫加入圈子
+ 订阅

分享数据库前沿,解构实战干货,推动数据库技术变革

相似问题
最新问题
推荐课程