Difference between revisions of "Pg ctl"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
* <code>[[/usr/lib/postgresql/]]10/bin/[[pg_ctl]] -D /var/lib/postgresql/10/main -l logfile start</code> | * <code>[[/usr/lib/postgresql/]]10/bin/[[pg_ctl]] -D /var/lib/postgresql/10/main -l logfile start</code> | ||
+ | |||
+ | pg_ctl -D /usr/local/var/[[postgres start]] | ||
[[pg_ctl --help]] | [[pg_ctl --help]] |
Revision as of 11:56, 9 March 2023
/usr/lib/postgresql/10/bin/pg_ctl -D /var/lib/postgresql/10/main -l logfile start
pg_ctl -D /usr/local/var/postgres start
pg_ctl --help pg_ctl status
Feb 11 11:24:33 ip-10-12-1-79 postgresql@14-main[9806]: pg_ctl: directory "/data" is not a database cluster directory
See also
Advertising: