
June 20th, 2012, 02:23 AM
|
|
Contributing User
|
|
Join Date: Oct 2003
Location: Germany
|
|
Quote: | Originally Posted by goinsurgency I want to end postgresql/mysql program/database via task manager or via terminal in linux. | No you don't. Use a regular "shutdown" command to stop the server.
The standard command is:
Code:
pg_ctl -D /your/data/directory stop
This works in Windows and Linux.
In Windows you can also use the control panel to stop the service, or the command
Code:
net stop postgresql
The exact name of the service depends on your installation and you need to check that in the control panel.
For more information I suggest you read the manual:
http://www.postgresql.org/docs/current/static/app-pg-ctl.html
http://www.postgresql.org/docs/current/static/server-start.html
http://www.postgresql.org/docs/current/static/server-shutdown.html
|