> For the complete documentation index, see [llms.txt](https://n4shx.gitbook.io/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://n4shx.gitbook.io/wiki/schule/archiv/datenbanken.md).

# Datenbanken

### `mysql`

Zweck: direkter Zugriff auf MySQL.

```
mysql -h <IP> -u root -p
```

### `psql`

Zweck: direkter Zugriff auf PostgreSQL.

```
psql -h <IP> -U postgres
```

### `sqlmap`

Zweck: SQL-Injection-Tests bei Webanwendungen.

```
sqlmap -u "http://<IP>/page.php?id=1"
```
