How to restart Postgresql

后端 未结 5 1818
不思量自难忘°
不思量自难忘° 2021-01-30 02:38

I have Postgresql 9.3 and 9.4 installed on my Linux Mint machine. How can I restart postgresql 9.4? A method to restart both versions together is also fine.

5条回答
  •  忘掉有多难
    2021-01-30 03:16

    On Windows :

    1-Open Run Window by Winkey + R

    2-Type services.msc

    3-Search Postgres service based on version installed.

    4-Click stop, start or restart the service option.

    On Linux :

    sudo systemctl restart postgresql
    

    also instead of "restart" you can replace : status, stop or status.

提交回复
热议问题