> For the complete documentation index, see [llms.txt](https://patryqhyper.gitbook.io/pterodactyl-php-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://patryqhyper.gitbook.io/pterodactyl-php-sdk/api-client/server-greater-than-databases.md).

# Server -> Databases

$client->client->server->databases

### Get databases

```php
$client->client->server->databases->list(string $serverIdentifier, bool $includePassword = false);
```

### Create database

```php
$client->client->server->databases->create(string $serverIdentifier, array $data);
```

### Rotate password

```php
$client->client->server->databases->rotatePassword(string $serverIdentifier, string $databaseId);
```

### Delete database

```php
$client->client->server->databases->delete(string $serverIdentifier, string $databaseId);
```
