Mic92 created page: home
This commit is contained in:
parent
a609f91303
commit
e9aaf49c25
@ -11,12 +11,15 @@ $ create-postgres-user-and-database foo bar # create user `foo` and give him acc
|
||||
Administration shell:
|
||||
|
||||
```bash
|
||||
$ sudo psql -h postgres -u postgres
|
||||
$ sudo psql -h postgres -U postgres
|
||||
psql> \l # list databases
|
||||
psql> \c <database> # connect to database
|
||||
psql> \d # show tables
|
||||
$ sudo pg_dump -h postgres -U postgres <dbname> > dump.sql
|
||||
$ sudo psql -h postgres -U postgres < dump.sql
|
||||
```
|
||||
|
||||
|
||||
### mysql
|
||||
|
||||
- Host: mysql
|
||||
|
Loading…
Reference in New Issue
Block a user