PostgreSQL info zu Readme hinzugefügt
This commit is contained in:
parent
43cb2cfa73
commit
b2839a35c5
21
README.md
21
README.md
@ -67,3 +67,24 @@ Assuming Ubuntu or similar
|
|||||||
stack:<br> https://docs.haskellstack.org/en/stable/README/#how-to-install
|
stack:<br> https://docs.haskellstack.org/en/stable/README/#how-to-install
|
||||||
|
|
||||||
ldap:<br>https://wiki.ubuntuusers.de/OpenLDAP_ab_Precise/
|
ldap:<br>https://wiki.ubuntuusers.de/OpenLDAP_ab_Precise/
|
||||||
|
|
||||||
|
|
||||||
|
***
|
||||||
|
|
||||||
|
# PostgreSQL
|
||||||
|
|
||||||
|
Starten als Root:
|
||||||
|
|
||||||
|
# systemctl start postgresql
|
||||||
|
# find / -name postgresql.conf
|
||||||
|
# cd /var/lib/pgsql/data/
|
||||||
|
# su - postgres
|
||||||
|
|
||||||
|
|
||||||
|
psql -U uniworx -d uniworx -h 127.0.0.1 -w
|
||||||
|
|
||||||
|
--Zeige Tabellen
|
||||||
|
\dt
|
||||||
|
|
||||||
|
--Lösche Tabelle "course" und alle davon abhängigen:
|
||||||
|
DROP TABLE "course" CASCADE;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user