PostgreSQL windows service启动失败
Posted 庚武讲堂
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PostgreSQL windows service启动失败相关的知识,希望对你有一定的参考价值。
from: http://stackoverflow.com/questions/1251233/unable-to-run-postgresql-as-windows-service
pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" stop
pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" start
pg_ctl -D "C:\Program Files\PostgreSQL\9.1\data" status
from: http://blog.csdn.net/dracotianlong/article/details/7828515
pg_ctl
名称
pg_ctl -- 启动、停止、重启 PostgreSQL
语法
pg_ctl start [-w] [-s] [-D datadir] [-l filename] [-o options] [-p path]
pg_ctl stop [-W] [-s] [-D datadir] [-m s[mart] | f[ast] | i[mmediate] ]
pg_ctl restart [-w] [-s] [-D datadir] [-m s[mart] | f[ast] | i[mmediate] ] [-o options]
pg_ctl reload [-s] [-D datadir]
pg_ctl status [-D datadir]
pg_ctl kill [signal_name] [process_id]
pg_ctl register [-N servicename] [-U username] [-P password] [-D datadir] [-w] [-o options]
pg_ctl unregister [-N servicename]
以上是关于PostgreSQL windows service启动失败的主要内容,如果未能解决你的问题,请参考以下文章
安装postgresql之后为什么找不到postgresql service
PgSQL安装(含配置)PostgreSQL简称PgSQL,是1980以加利福尼亚大学开发的DBMS,严格遵守标准SQL。